llvm-project/clang-tools-extra/clang-tidy/readability
Alexander Kornienko 976e0c07a0 A bit of AST matcher cleanup, NFC.
Removed the uses of the allOf() matcher inside node matchers that are implicit
allOf(). Replaced uses of allOf() with the explicit node matcher where it makes
matchers more readable. Replace anyOf(hasName(), hasName(), ...) with the more
efficient and readable hasAnyName().

llvm-svn: 347520
2018-11-25 02:41:01 +00:00
..
AvoidConstParamsInDecls.cpp Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
AvoidConstParamsInDecls.h [clang-tidy] Fix MSVC build. 2016-03-30 12:35:05 +00:00
BracesAroundStatementsCheck.cpp Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
BracesAroundStatementsCheck.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
CMakeLists.txt Implement the readability-const-return-type check. 2018-10-31 19:11:38 +00:00
ConstReturnTypeCheck.cpp Implement the readability-const-return-type check. 2018-10-31 19:11:38 +00:00
ConstReturnTypeCheck.h Implement the readability-const-return-type check. 2018-10-31 19:11:38 +00:00
ContainerSizeEmptyCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
ContainerSizeEmptyCheck.h
DeleteNullPointerCheck.cpp Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
DeleteNullPointerCheck.h [clang-tidy] Fix for bug 31838: readability-delete-null-pointer does not work for class members 2017-02-12 20:09:59 +00:00
DeletedDefaultCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +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] Resolve readability-else-after-return false positive for constexpr if. 2018-10-19 15:26:17 +00:00
ElseAfterReturnCheck.h
FunctionSizeCheck.cpp Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
FunctionSizeCheck.h [clang-tidy] readability-function-size: add VariableThreshold param. 2018-04-12 12:06:42 +00:00
IdentifierNamingCheck.cpp [clang-tidy] Re-commit: Add new 'readability-uppercase-literal-suffix' check (CERT DCL16-C, MISRA C:2012, 7.3, MISRA C++:2008, 2-13-4) 2018-10-26 13:09:27 +00:00
IdentifierNamingCheck.h [clang-tidy] clang-format the last patch. NFC 2017-03-22 12:50:05 +00:00
ImplicitBoolConversionCheck.cpp [clang-tidy] Ignore singe bit bitfield -> bool conversion in readability-implicit-bool-conversion 2018-10-02 11:38:41 +00:00
ImplicitBoolConversionCheck.h [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
InconsistentDeclarationParameterNameCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
InconsistentDeclarationParameterNameCheck.h [clang-tidy] readability-inconsistent-declaration-parameter-name: accept approximate name matches. 2018-07-13 11:41:56 +00:00
IsolateDeclarationCheck.cpp A bit of AST matcher cleanup, NFC. 2018-11-25 02:41:01 +00:00
IsolateDeclarationCheck.h [clang-tidy] new check 'readability-isolate-declaration' 2018-10-31 16:50:44 +00:00
MagicNumbersCheck.cpp llvm::sort(C.begin(), C.end()) -> llvm::sort(C) 2018-09-27 04:19:29 +00:00
MagicNumbersCheck.h Add a new check to the readability module that flags uses of "magic numbers" (both floating-point and integral). 2018-08-12 14:35:13 +00:00
MisleadingIndentationCheck.cpp Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
MisleadingIndentationCheck.h [clang-tidy] readability-misleading-indentation: fix chained if 2017-03-17 09:58:30 +00:00
MisplacedArrayIndexCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +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 Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
NamedParameterCheck.h [clang-tidy] update links to Google Code Style in docs 2016-02-25 14:31:10 +00:00
NamespaceCommentCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
NamespaceCommentCheck.h [clang-tidy] Fix google-readability-namespace-comments handling of C++17 nested namespaces 2018-01-11 13:00:28 +00:00
NonConstParameterCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +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 Implement the readability-const-return-type check. 2018-10-31 19:11:38 +00:00
RedundantControlFlowCheck.cpp Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +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 Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
RedundantDeclarationCheck.h [clang-tidy] readability-redundant-declaration: ignore friends and macros 2017-07-28 12:46:02 +00:00
RedundantFunctionPtrDereferenceCheck.cpp [clang-tidy] Add check for redundant function pointer dereferences 2016-12-13 08:04:11 +00:00
RedundantFunctionPtrDereferenceCheck.h [clang-tidy] Add check for redundant function pointer dereferences 2016-12-13 08:04:11 +00:00
RedundantMemberInitCheck.cpp [clang-tidy] Handle anonymous structs/unions in member init checks. 2017-08-01 09:54:05 +00:00
RedundantMemberInitCheck.h [clang-tidy] Add check 'readability-redundant-member-init' 2016-10-20 16:08:03 +00:00
RedundantSmartptrGetCheck.cpp [clang-tidy] add IgnoreMacros option to readability-redundant-smartptr-get 2018-10-21 19:16:25 +00:00
RedundantSmartptrGetCheck.h [clang-tidy] add IgnoreMacros option to readability-redundant-smartptr-get 2018-10-21 19:16:25 +00:00
RedundantStringCStrCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
RedundantStringCStrCheck.h
RedundantStringInitCheck.cpp Adapt clang-tidy checks to changing semantics of hasDeclaration. 2017-08-02 13:13:11 +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 A bit of AST matcher cleanup, NFC. 2018-11-25 02:41:01 +00:00
SimplifyBooleanExprCheck.h [clang-tidy] Update checks to play nicely with limited traversal scope added in r346847 2018-11-15 15:06:11 +00:00
SimplifySubscriptExprCheck.cpp Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
SimplifySubscriptExprCheck.h Add a new check, readability-simplify-subscript-expr, that diagnoses array subscript expressions that can be simplified. 2018-05-16 20:12:06 +00:00
StaticAccessedThroughInstanceCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
StaticAccessedThroughInstanceCheck.h [clang-tidy] Add new readability non-idiomatic static access check 2017-08-08 15:33:48 +00:00
StaticDefinitionInAnonymousNamespaceCheck.cpp [clang-tidy] Use isStaticStorageClass ast matcher. 2016-09-27 07:58:52 +00:00
StaticDefinitionInAnonymousNamespaceCheck.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
StringCompareCheck.cpp Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +00:00
StringCompareCheck.h clang-tidy/rename_check.py misc-string-compare readability-string-compare 2018-01-30 14:55:50 +00:00
UniqueptrDeleteReleaseCheck.cpp Port getLocEnd -> getEndLoc 2018-08-09 22:43:02 +00:00
UniqueptrDeleteReleaseCheck.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
UppercaseLiteralSuffixCheck.cpp A bit of AST matcher cleanup, NFC. 2018-11-25 02:41:01 +00:00
UppercaseLiteralSuffixCheck.h [clang-tidy] Re-commit: Add new 'readability-uppercase-literal-suffix' check (CERT DCL16-C, MISRA C:2012, 7.3, MISRA C++:2008, 2-13-4) 2018-10-26 13:09:27 +00:00