|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h 152 void addMatcher(const StatementMatcher &NodeMatch,
References
tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h 291 Finder.addMatcher(Matcher, &Callback);
307 Finder.addMatcher(Matcher, &Callback);
tools/clang/include/clang/Tooling/RefactoringCallbacks.h 60 MatchFinder.addMatcher(Matcher, Callback);
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp 1062 addMatcher(NodeMatch.convertTo<Stmt>(), Action);
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp 341 F.addMatcher(stmt(forEachDescendant(FinalM)), &CB);
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 507 Finder->addMatcher(expr(hasAncestor(decl().bind("dc")), IsInMovedNs,
517 Finder->addMatcher(declRefExpr(IsInMovedNs, hasAncestor(decl().bind("dc")),
527 Finder->addMatcher(
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp 206 MatchFinder->addMatcher(
209 MatchFinder->addMatcher(
tools/clang/tools/extra/clang-move/Move.cpp 599 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/DurationAdditionCheck.cpp 22 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/DurationComparisonCheck.cpp 27 Finder->addMatcher(Matcher, this);
tools/clang/tools/extra/clang-tidy/abseil/DurationConversionCastCheck.cpp 26 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/DurationDivisionCheck.cpp 25 finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryFloatCheck.cpp 31 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryScaleCheck.cpp 119 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/DurationSubtractionCheck.cpp 22 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/DurationUnnecessaryConversionCheck.cpp 55 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp 84 Finder->addMatcher(callExpr(callee(functionDecl(hasName("::absl::StrSplit"))),
93 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp 38 Finder->addMatcher(
41 Finder->addMatcher(CallToStrappend.bind("StrAppend"), this);
tools/clang/tools/extra/clang-tidy/abseil/StrCatAppendCheck.cpp 62 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/StringFindStartswithCheck.cpp 50 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/abseil/TimeComparisonCheck.cpp 28 Finder->addMatcher(Matcher, this);
tools/clang/tools/extra/clang-tidy/abseil/TimeSubtractionCheck.cpp 117 Finder->addMatcher(CallMatcher, this);
125 Finder->addMatcher(OperandMatcher, this);
tools/clang/tools/extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp 34 Finder->addMatcher(
49 Finder->addMatcher(
63 Finder->addMatcher(
77 Finder->addMatcher(
104 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/android/CloexecCheck.cpp 46 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/android/ComparisonInTempFailureRetryCheck.cpp 63 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/boost/UseToStringCheck.cpp 28 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp 51 Finder->addMatcher(
60 Finder->addMatcher(cxxConstructExpr().bind("expr"), this);
tools/clang/tools/extra/clang-tidy/bugprone/AssertSideEffectCheck.cpp 89 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.cpp 20 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/BranchCloneCheck.cpp 61 Finder->addMatcher(
66 Finder->addMatcher(switchStmt().bind("switch"), this);
67 Finder->addMatcher(conditionalOperator().bind("condOp"), this);
tools/clang/tools/extra/clang-tidy/bugprone/DanglingHandleCheck.cpp 129 Finder->addMatcher(
137 Finder->addMatcher(makeContainerMatcher(IsAHandle).bind("bad_stmt"), this);
142 Finder->addMatcher(
165 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/FoldInitTypeCheck.cpp 41 Finder->addMatcher(
49 Finder->addMatcher(
58 Finder->addMatcher(
66 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp 39 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/IncorrectRoundingsCheck.cpp 53 MatchFinder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp 162 Finder->addMatcher(stmt(anyOf(whileStmt(LoopCondition), doStmt(LoopCondition),
tools/clang/tools/extra/clang-tidy/bugprone/IntegerDivisionCheck.cpp 36 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/LambdaFunctionNameCheck.cpp 63 Finder->addMatcher(predefinedExpr(hasAncestor(lambdaExpr())).bind("E"),
tools/clang/tools/extra/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.cpp 60 Finder->addMatcher(callExpr(callee(decl(anyOf(Alloc0Func, Alloc0FuncPtr))),
64 Finder->addMatcher(callExpr(callee(decl(anyOf(Alloc1Func, Alloc1FuncPtr))),
68 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp 47 Finder->addMatcher(returnStmt(hasReturnValue(Cast)), this);
48 Finder->addMatcher(callExpr(hasAnyArgument(Cast)), this);
49 Finder->addMatcher(binaryOperator(hasOperatorName("="), hasRHS(Cast)), this);
50 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp 83 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/MultipleStatementMacroCheck.cpp 60 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp 775 Finder->addMatcher(callExpr(AnyOfMatchers).bind(FunctionExprName), this);
778 Finder->addMatcher(
783 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp 85 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/PosixReturnCheck.cpp 31 Finder->addMatcher(
40 Finder->addMatcher(
49 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/SizeofContainerCheck.cpp 20 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp 99 Finder->addMatcher(
108 Finder->addMatcher(
116 Finder->addMatcher(
127 Finder->addMatcher(expr(sizeOfExpr(has(ignoringParenImpCasts(expr(
154 Finder->addMatcher(
164 Finder->addMatcher(
175 Finder->addMatcher(expr(sizeOfExpr(has(expr(ignoringParenImpCasts(
188 Finder->addMatcher(
200 Finder->addMatcher(binaryOperator(hasOperatorName("*"),
206 Finder->addMatcher(
217 Finder->addMatcher(
232 Finder->addMatcher(
247 Finder->addMatcher(binaryOperator(hasOperatorName("/"),
tools/clang/tools/extra/clang-tidy/bugprone/StringConstructorCheck.cpp 65 Finder->addMatcher(
84 Finder->addMatcher(
105 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp 23 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.cpp 31 Finder->addMatcher(stringLiteral(containsNul()).bind("strlit"), this);
52 Finder->addMatcher(
57 Finder->addMatcher(cxxOperatorCallExpr(hasAnyArgument(StrLitWithNul)), this);
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp 125 Finder->addMatcher(
133 Finder->addMatcher(
141 Finder->addMatcher(
148 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp 25 Finder->addMatcher(
39 Finder->addMatcher(callExpr(callee(functionDecl(hasName("::memset"))),
45 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousMissingCommaCheck.cpp 92 Finder->addMatcher(StringsInitializerList.bind("list"), this);
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp 21 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp 115 Finder->addMatcher(
130 Finder->addMatcher(unaryOperator(hasOperatorName("!"),
138 Finder->addMatcher(
145 Finder->addMatcher(
161 Finder->addMatcher(binaryOperator(matchers::isComparisonOperator(),
tools/clang/tools/extra/clang-tidy/bugprone/SwappedArgumentsCheck.cpp 22 Finder->addMatcher(callExpr().bind("call"), this);
tools/clang/tools/extra/clang-tidy/bugprone/TerminatingContinueCheck.cpp 28 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/ThrowKeywordMissingCheck.cpp 26 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp 80 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.cpp 33 Finder->addMatcher(callExpr(callee(functionDecl(hasAnyName(
41 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/UndelegatedConstructorCheck.cpp 62 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/UnusedRaiiCheck.cpp 38 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp 79 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp 388 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cert/CommandProcessorCheck.cpp 20 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cert/FloatLoopCounter.cpp 20 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cert/LimitedRandomnessCheck.cpp 20 Finder->addMatcher(callExpr(callee(functionDecl(namedDecl(hasName("::rand")),
tools/clang/tools/extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp 49 Finder->addMatcher(
64 Finder->addMatcher(
72 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.cpp 66 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cert/StrToNumCheck.cpp 25 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp 24 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/AvoidGotoCheck.cpp 40 Finder->addMatcher(gotoStmt(anyOf(unless(hasAncestor(NestedLoop)),
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp 41 Finder->addMatcher(
52 Finder->addMatcher(binaryOperator(isAssignmentOperator(),
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NoMallocCheck.cpp 45 Finder->addMatcher(callExpr(callee(functionDecl(hasAnyListedName(AllocList))))
50 Finder->addMatcher(
56 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp 74 Finder->addMatcher(
88 Finder->addMatcher(
97 Finder->addMatcher(binaryOperator(matchers::isAssignmentOperator(),
125 Finder->addMatcher(binaryOperator(matchers::isAssignmentOperator(),
143 Finder->addMatcher(
151 Finder->addMatcher(callExpr(forEachArgumentWithParam(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp 59 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp 49 Finder->addMatcher(
56 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp 28 Finder->addMatcher(
37 Finder->addMatcher(
44 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp 23 Finder->addMatcher(cxxConstCastExpr().bind("cast"), this);
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp 36 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp 23 Finder->addMatcher(cxxReinterpretCastExpr().bind("cast"), this);
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp 23 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.cpp 23 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp 25 Finder->addMatcher(vAArgExpr().bind("va_use"), this);
27 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SlicingCheck.cpp 65 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/darwin/AvoidSpinlockCheck.cpp 20 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.cpp 19 Finder->addMatcher(cxxDefaultArgExpr().bind("stmt"), this);
tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp 24 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/google/AvoidNSObjectNewCheck.cpp 100 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/google/AvoidThrowingObjCExceptionCheck.cpp 25 Finder->addMatcher(objcThrowStmt().bind("throwStmt"), this);
26 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.cpp 36 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp 177 Finder->addMatcher(expr(anyOf(callExpr(callee(Methods)).bind("call"),
tools/clang/tools/extra/clang-tidy/hicpp/ExceptionBaseclassCheck.cpp 23 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp 26 Finder->addMatcher(
45 Finder->addMatcher(ifStmt(hasParent(ifStmt()), unless(hasElse(anything())))
tools/clang/tools/extra/clang-tidy/hicpp/NoAssemblerCheck.cpp 27 Finder->addMatcher(asmStmt().bind("asm-stmt"), this);
tools/clang/tools/extra/clang-tidy/hicpp/SignedBitwiseCheck.cpp 35 Finder->addMatcher(
49 Finder->addMatcher(
58 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/linuxkernel/MustCheckErrsCheck.cpp 24 Finder->addMatcher(
30 Finder->addMatcher(callExpr(callee(ReturnsErrFn), hasParent(NonCheckingStmts))
tools/clang/tools/extra/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.cpp 57 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.cpp 49 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp 646 Finder->addMatcher(
665 Finder->addMatcher(conditionalOperator(expressionsAreEquivalent(),
673 Finder->addMatcher(
691 Finder->addMatcher(
706 Finder->addMatcher(
729 Finder->addMatcher(binaryOperator(isComparisonOperator(),
736 Finder->addMatcher(
744 Finder->addMatcher(binaryOperator(isComparisonOperator(),
758 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp 68 Finder->addMatcher(conditionalOperator(hasCondition(Condition),
73 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp 33 Finder->addMatcher(cxxThrowExpr().bind("throw"), this);
34 Finder->addMatcher(cxxCatchStmt().bind("catch"), this);
tools/clang/tools/extra/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp 66 Finder->addMatcher(returnStmt(IsBadReturnStatement, forFunction(IsGoodAssign))
tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp 25 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp 59 Finder->addMatcher(declRefExpr().bind("used"), this);
60 Finder->addMatcher(callExpr(callee(unresolvedLookupExpr().bind("used"))),
62 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/modernize/AvoidBindCheck.cpp 123 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 489 Finder->addMatcher(makeArrayLoopMatcher(), this);
490 Finder->addMatcher(makeIteratorLoopMatcher(), this);
491 Finder->addMatcher(makePseudoArrayLoopMatcher(), this);
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp 87 Finder->addMatcher(
100 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/modernize/RawStringLiteralCheck.cpp 125 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/modernize/RedundantVoidArgCheck.cpp 64 Finder->addMatcher(
66 Finder->addMatcher(
68 Finder->addMatcher(
71 Finder->addMatcher(
73 Finder->addMatcher(lambdaExpr().bind(LambdaId), this);
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp 125 Finder->addMatcher(
130 Finder->addMatcher(cxxConstructExpr(hasType(AutoPtrType), argumentCountIs(1),
tools/clang/tools/extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp 36 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/modernize/ShrinkToFitCheck.cpp 43 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp 331 Finder->addMatcher(makeCombinedMatcher(), this);
tools/clang/tools/extra/clang-tidy/modernize/UseBoolLiteralsCheck.cpp 29 Finder->addMatcher(
37 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/modernize/UseEmplaceCheck.cpp 115 Finder->addMatcher(cxxMemberCallExpr(CallPushBack, has(SoughtParam),
tools/clang/tools/extra/clang-tidy/modernize/UseNullptrCheck.cpp 480 Finder->addMatcher(makeCastSequenceMatcher(), this);
tools/clang/tools/extra/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp 63 Finder->addMatcher(cxxConstructExpr(hasDeclaration(cxxMethodDecl(
tools/clang/tools/extra/clang-tidy/modernize/UseUncaughtExceptionsCheck.cpp 32 Finder->addMatcher(
38 Finder->addMatcher(callExpr(hasDeclaration(functionDecl(hasName(MatchText))),
44 Finder->addMatcher(callExpr(hasAncestor(initListExpr()),
tools/clang/tools/extra/clang-tidy/mpi/BufferDerefCheck.cpp 22 Finder->addMatcher(callExpr().bind("CE"), this);
tools/clang/tools/extra/clang-tidy/mpi/TypeMismatchCheck.cpp 240 Finder->addMatcher(callExpr().bind("CE"), this);
tools/clang/tools/extra/clang-tidy/objc/AvoidNSErrorInitCheck.cpp 24 Finder->addMatcher(objcMessageExpr(hasSelector("init"),
tools/clang/tools/extra/clang-tidy/objc/SuperSelfCheck.cpp 82 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/openmp/ExceptionEscapeCheck.cpp 54 Finder->addMatcher(ompExecutableDirective(
tools/clang/tools/extra/clang-tidy/openmp/UseDefaultNoneCheck.cpp 30 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/performance/FasterStringFindCheck.cpp 71 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/performance/ForRangeCopyCheck.cpp 45 Finder->addMatcher(cxxForRangeStmt(hasLoopVariable(LoopVar.bind("loopVar")))
tools/clang/tools/extra/clang-tidy/performance/ImplicitConversionInLoopCheck.cpp 49 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/performance/InefficientAlgorithmCheck.cpp 64 Finder->addMatcher(Matcher, this);
tools/clang/tools/extra/clang-tidy/performance/InefficientStringConcatenationCheck.cpp 59 Finder->addMatcher(cxxOperatorCallExpr(anyOf(AssignOperator, PlusOperator)),
62 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp 126 Finder->addMatcher(
146 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/performance/MoveConstArgCheck.cpp 51 Finder->addMatcher(MoveCallMatcher, this);
56 Finder->addMatcher(callExpr(ConstParamMatcher).bind("receiving-expr"), this);
57 Finder->addMatcher(cxxConstructExpr(ConstParamMatcher).bind("receiving-expr"),
tools/clang/tools/extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp 72 Finder->addMatcher(
83 Finder->addMatcher(
92 Finder->addMatcher(
103 Finder->addMatcher(
115 Finder->addMatcher(
125 Finder->addMatcher(
137 Finder->addMatcher(
146 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp 78 Finder->addMatcher(localVarCopiedFrom(anyOf(ConstRefReturningFunctionCall,
82 Finder->addMatcher(localVarCopiedFrom(declRefExpr(
tools/clang/tools/extra/clang-tidy/portability/SIMDIntrinsicsCheck.cpp 102 Finder->addMatcher(callExpr(callee(functionDecl(
tools/clang/tools/extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp 126 Finder->addMatcher(ifStmt().bind("if"), this);
127 Finder->addMatcher(whileStmt().bind("while"), this);
128 Finder->addMatcher(doStmt().bind("do"), this);
129 Finder->addMatcher(forStmt().bind("for"), this);
130 Finder->addMatcher(cxxForRangeStmt().bind("for-range"), this);
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp 60 Finder->addMatcher(
91 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/DeleteNullPointerCheck.cpp 42 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/ElseAfterReturnCheck.cpp 25 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 239 Finder->addMatcher(declRefExpr().bind("declRef"), this);
tools/clang/tools/extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp 281 Finder->addMatcher(
313 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/IsolateDeclarationCheck.cpp 28 Finder->addMatcher(declStmt(onlyDeclaresVariables(), unless(isSingleDecl()),
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.cpp 100 Finder->addMatcher(integerLiteral().bind("integer"), this);
102 Finder->addMatcher(floatLiteral().bind("float"), this);
tools/clang/tools/extra/clang-tidy/readability/MisleadingIndentationCheck.cpp 109 Finder->addMatcher(ifStmt(hasElse(stmt())).bind("if"), this);
110 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/MisplacedArrayIndexCheck.cpp 22 Finder->addMatcher(arraySubscriptExpr(hasLHS(hasType(isInteger())),
tools/clang/tools/extra/clang-tidy/readability/NonConstParameterCheck.cpp 28 Finder->addMatcher(declRefExpr().bind("Ref"), this);
31 Finder->addMatcher(stmt(anyOf(unaryOperator(anyOf(hasOperatorName("++"),
tools/clang/tools/extra/clang-tidy/readability/RedundantControlFlowCheck.cpp 42 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.cpp 20 Finder->addMatcher(unaryOperator(hasOperatorName("*"),
tools/clang/tools/extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp 50 Finder->addMatcher(
56 Finder->addMatcher(
63 Finder->addMatcher(
68 Finder->addMatcher(ifStmt(hasCondition(CallToGetAsBool)), Callback);
71 Finder->addMatcher(conditionalOperator(hasCondition(CallToGetAsBool)),
83 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/RedundantStringCStrCheck.cpp 98 Finder->addMatcher(cxxConstructExpr(StringConstructorExpr,
103 Finder->addMatcher(
118 Finder->addMatcher(cxxOperatorCallExpr(anyOf(hasOverloadedOperatorName("="),
125 Finder->addMatcher(
132 Finder->addMatcher(
139 Finder->addMatcher(
149 Finder->addMatcher(
156 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp 425 Finder->addMatcher(
435 Finder->addMatcher(
446 Finder->addMatcher(ifStmt(isExpansionInMainFile(),
452 Finder->addMatcher(ifStmt(isExpansionInMainFile(),
478 Finder->addMatcher(ifStmt(hasThen(Then), hasElse(Else)).bind(Id), this);
480 Finder->addMatcher(
489 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/SimplifySubscriptExprCheck.cpp 37 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp 40 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/StringCompareCheck.cpp 37 Finder->addMatcher(implicitCastExpr(hasImplicitDestinationType(booleanType()),
43 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/UniqueptrDeleteReleaseCheck.cpp 29 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp 199 Finder->addMatcher(
tools/clang/tools/extra/clang-tidy/zircon/TemporaryObjectsCheck.cpp 31 Finder->addMatcher(
38 Finder->addMatcher(
tools/clang/tools/extra/unittests/clang-tidy/IncludeInserterTest.cpp 42 Finder->addMatcher(ast_matchers::declStmt().bind("stmt"), this);
tools/clang/tools/extra/unittests/clang-tidy/NamespaceAliaserTest.cpp 27 Finder->addMatcher(ast_matchers::callExpr().bind("foo"), this);
tools/clang/tools/extra/unittests/clang-tidy/OverlappingReplacementsTest.cpp 47 Finder->addMatcher(ifStmt().bind(BoundIf), this);
tools/clang/tools/extra/unittests/clang-tidy/UsingInserterTest.cpp 28 Finder->addMatcher(clang::ast_matchers::callExpr().bind("foo"), this);
tools/clang/unittests/AST/ASTPrint.h 68 Finder.addMatcher(NodeMatch, &Printer);
tools/clang/unittests/AST/DataCollectionTest.cpp 77 Finder.addMatcher(StmtMatch, &Hasher);
tools/clang/unittests/AST/DeclMatcher.h 34 Finder.addMatcher(AMatcher.bind(""), this);
tools/clang/unittests/AST/MatchVerifier.h 85 Finder.addMatcher(AMatcher.bind(""), this);
tools/clang/unittests/AST/OMPStructuredBlockTest.cpp 59 Finder.addMatcher(StmtMatch, &Printer);
tools/clang/unittests/ASTMatchers/ASTMatchersTest.h 80 Finder.addMatcher(AMatcher, &VerifyFound);
261 Finder.addMatcher(AMatcher, &VerifyFound);
325 Finder.addMatcher(AMatcher, &VerifyVerifiedResult);