hanchenye-llvm-project/clang-tools-extra/clang-tidy/readability
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
..
AvoidConstParamsInDecls.cpp [clang-tidy] readability-avoid-const-params-in-decls template instantiation bugfix 2016-10-11 12:02:16 +00:00
AvoidConstParamsInDecls.h [clang-tidy] Fix MSVC build. 2016-03-30 12:35:05 +00:00
BracesAroundStatementsCheck.cpp [clang-tidy] Fix readability-braces-around-statements false positive 2016-10-14 08:10:08 +00:00
BracesAroundStatementsCheck.h
CMakeLists.txt [clang-tidy] Add check readability-redundant-declaration 2016-11-01 13:26:15 +00:00
ContainerSizeEmptyCheck.cpp [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
ContainerSizeEmptyCheck.h
DeletedDefaultCheck.cpp [clang-tidy] Add a readability-deleted-default clang-tidy check. 2016-04-13 11:33:40 +00:00
DeletedDefaultCheck.h [clang-tidy] Add a readability-deleted-default clang-tidy check. 2016-04-13 11:33:40 +00:00
ElseAfterReturnCheck.cpp [clang-tidy] enhance readability-else-after-return 2016-08-10 18:05:47 +00:00
ElseAfterReturnCheck.h
FunctionSizeCheck.cpp Speed up check by using a recursive visitor. 2016-05-25 16:19:23 +00:00
FunctionSizeCheck.h Speed up check by using a recursive visitor. 2016-05-25 16:19:23 +00:00
IdentifierNamingCheck.cpp [clang-tidy] Fix identifier naming in macro args. 2016-10-24 17:20:32 +00:00
IdentifierNamingCheck.h [clang-tidy] readability-identifier-naming - support for other case types 2016-07-20 12:28:38 +00:00
ImplicitBoolCastCheck.cpp [clang-tidy] readability-implicit-bool-cast forgets to store its options. 2016-08-16 11:15:05 +00:00
ImplicitBoolCastCheck.h [clang-tidy] readability-implicit-bool-cast forgets to store its options. 2016-08-16 11:15:05 +00:00
InconsistentDeclarationParameterNameCheck.cpp Apply performance-unnecessary-value-param to clang-tidy. 2016-06-15 15:46:10 +00:00
InconsistentDeclarationParameterNameCheck.h
MisplacedArrayIndexCheck.cpp [clang-tidy] readability-misplaced-array-index: add new check that warns when array index is misplaced. 2016-09-12 12:04:13 +00:00
MisplacedArrayIndexCheck.h [clang-tidy] readability-misplaced-array-index: add new check that warns when array index is misplaced. 2016-09-12 12:04:13 +00:00
NamedParameterCheck.cpp [clang-tidy] readability-named-parameter: don't complain about implicit parameters 2015-11-06 00:19:21 +00:00
NamedParameterCheck.h [clang-tidy] update links to Google Code Style in docs 2016-02-25 14:31:10 +00:00
NamespaceCommentCheck.cpp [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
NamespaceCommentCheck.h [clang-tidy] update links to Google Code Style in docs 2016-02-25 14:31:10 +00:00
NonConstParameterCheck.cpp [clang-tidy] readability-non-const-parameter: add new check that warns when function parameters should be const 2016-08-23 10:09:08 +00:00
NonConstParameterCheck.h [clang-tidy] readability-non-const-parameter: add new check that warns when function parameters should be const 2016-08-23 10:09:08 +00:00
ReadabilityTidyModule.cpp [clang-tidy] Add check readability-redundant-declaration 2016-11-01 13:26:15 +00:00
RedundantControlFlowCheck.cpp [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
RedundantControlFlowCheck.h Add a new check, readability-redundant-control-flow, that check for some forms of redundant control flow statements. Currently checks for return statements at the end of a function with a void return type and continue statements at the end of looping statements. 2016-02-01 15:31:15 +00:00
RedundantDeclarationCheck.cpp [clang-tidy] Add check readability-redundant-declaration 2016-11-01 13:26:15 +00:00
RedundantDeclarationCheck.h [clang-tidy] Add check readability-redundant-declaration 2016-11-01 13:26:15 +00:00
RedundantMemberInitCheck.cpp [clang-tidy] Add check 'readability-redundant-member-init' 2016-10-20 16:08:03 +00:00
RedundantMemberInitCheck.h [clang-tidy] Add check 'readability-redundant-member-init' 2016-10-20 16:08:03 +00:00
RedundantSmartptrGetCheck.cpp [clang-tidy] make readability-redundant-smartptr-get report get() usage in conditions 2016-09-26 07:22:37 +00:00
RedundantSmartptrGetCheck.h
RedundantStringCStrCheck.cpp [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
RedundantStringCStrCheck.h
RedundantStringInitCheck.cpp Fix clang-tidy patterns to adapt to newly added ExprWithCleanups nodes. 2016-06-21 20:11:20 +00:00
RedundantStringInitCheck.h Add a new check, readability-redundant-string-init, that checks unnecessary string initializations. 2016-02-25 23:57:23 +00:00
SimplifyBooleanExprCheck.cpp [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
SimplifyBooleanExprCheck.h Reapply r260096. 2016-02-12 15:09:05 +00:00
StaticDefinitionInAnonymousNamespaceCheck.cpp [clang-tidy] Use isStaticStorageClass ast matcher. 2016-09-27 07:58:52 +00:00
StaticDefinitionInAnonymousNamespaceCheck.h [clang-tidy] Add a check to detect static definitions in anonymous namespace. 2016-04-05 11:42:08 +00:00
UniqueptrDeleteReleaseCheck.cpp [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
UniqueptrDeleteReleaseCheck.h [clang-tidy] Fix doxygen errors. NFC. 2016-06-17 11:43:33 +00:00