llvm-project/clang-tools-extra/clang-tidy
Daniel Marjamaki 399a50cf35 [clang-tidy] Add check readability-redundant-declaration
Finds redundant variable and function declarations.

  extern int X;
  extern int X;  // <- redundant

Differential Revision: https://reviews.llvm.org/D24656

llvm-svn: 285689
2016-11-01 13:26:15 +00:00
..
boost [clang-tidy] boost-use-to-string arg expr location bugfix 2016-06-28 08:16:20 +00:00
cert [clang-tidy] Update cert-err58-cpp to match its new generalised form. 2016-10-31 22:47:04 +00:00
cppcoreguidelines [clang-tidy] Don't use a SmallSetVector of an enum. 2016-10-21 20:13:39 +00:00
google [clang-tidy] Add a whitelist option in google-runtime-references. 2016-10-10 16:38:11 +00:00
llvm [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
misc Remove 'misc-pointer-and-integral-operation' clang-tidy check. The only cases 2016-10-21 21:50:28 +00:00
modernize [clang-tidy] Enhance modernize-make-unique to handle unique_ptr.reset() 2016-10-31 15:48:01 +00:00
mpi [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
performance [clang-tidy] Inefficient string operation 2016-08-03 23:06:03 +00:00
plugin [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
readability [clang-tidy] Add check readability-redundant-declaration 2016-11-01 13:26:15 +00:00
tool [clang-tidy] Add doc for `explain-config` option. 2016-09-22 14:36:43 +00:00
utils Recommit "[ClangTidy] Add UsingInserter and NamespaceAliaser" 2016-10-17 08:33:59 +00:00
CMakeLists.txt [clang-tidy] Clean up code after applying replacements. 2016-10-17 17:25:02 +00:00
ClangTidy.cpp [clang-tidy] Clean up code after applying replacements. 2016-10-17 17:25:02 +00:00
ClangTidy.h [clang-tidy] misc-argument-comment non-strict mode 2016-08-04 14:54:54 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] Clean up code after applying replacements. 2016-10-17 17:25:02 +00:00
ClangTidyDiagnosticConsumer.h Fix clang-tidy crash when a single fix is applied on multiple files. 2016-08-09 07:54:49 +00:00
ClangTidyModule.cpp Apply performance-unnecessary-value-param to clang-tidy. 2016-06-15 15:46:10 +00:00
ClangTidyModule.h Revert "Apply modernize-use-default to clang-tools-extra." 2015-10-20 21:45:52 +00:00
ClangTidyModuleRegistry.h Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-08-05 11:01:08 +00:00
ClangTidyOptions.cpp [clang-tidy] Merge ExtraArgs(Before) instead of overriding them. 2016-08-23 14:48:29 +00:00
ClangTidyOptions.h [ClangTidy] Add an 'explain-checks' option to diagnose where each checks comes from. 2016-04-27 09:15:01 +00:00
add_new_check.py [clang-tidy] Remove redundant quote in add_new_check script 2016-05-30 15:42:08 +00:00
rename_check.py [clang-tidy] Python script for easy check rename 2015-10-11 07:58:34 +00:00