|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h 148 void addMatcher(const DeclarationMatcher &NodeMatch,
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp 1011 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch,
tools/clang/lib/Analysis/RetainSummaryManager.cpp 143 DeclarationMatcher SubclassM = cxxRecordDecl(isSameOrDerivedFrom(ClassName));
tools/clang/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp 166 DeclarationMatcher GroupM = decl(hasDescendant(RunLoopInAutorelease));
182 DeclarationMatcher GroupM = functionDecl(
tools/clang/tools/extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp 75 DeclarationMatcher findOverload =
tools/clang/tools/extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp 76 DeclarationMatcher AdditionalMatcher = cxxMethodDecl();
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 54 static const DeclarationMatcher InitToZeroMatcher() {
134 DeclarationMatcher InitDeclMatcher =
141 DeclarationMatcher EndDeclMatcher =
273 DeclarationMatcher EndDeclMatcher =
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp 212 DeclarationMatcher standardIterator() {
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp 88 const DeclarationMatcher &TargetRecordDecl, StringRef VarDeclName,
89 StringRef VarDeclStmtName, const DeclarationMatcher &AppendMethodDecl,
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.h 34 void AddMatcher(const ast_matchers::DeclarationMatcher &TargetRecordDecl,
36 const ast_matchers::DeclarationMatcher &AppendMethodDecl,
tools/clang/tools/extra/clang-tidy/utils/NamespaceAliaser.cpp 58 DeclarationMatcher ConflictMatcher = namedDecl(hasName(Abbreviation));
tools/clang/unittests/AST/ASTImporterTest.cpp 147 DeclarationMatcher ImportPredicate)
tools/clang/unittests/AST/DeclPrinterTest.cpp 76 const DeclarationMatcher &NodeMatch,
120 PrintedDeclCXX98Matches(StringRef Code, const DeclarationMatcher &NodeMatch,
145 const DeclarationMatcher &NodeMatch,
157 const DeclarationMatcher &NodeMatch,
169 PrintedDeclCXX1ZMatches(StringRef Code, const DeclarationMatcher &NodeMatch,
181 const DeclarationMatcher &NodeMatch,
tools/clang/unittests/AST/NamedDeclPrinterTest.cpp 66 const DeclarationMatcher &NodeMatch, StringRef ExpectedPrinted,
99 const DeclarationMatcher &NodeMatch,
tools/clang/unittests/AST/StmtPrinterTest.cpp 36 DeclarationMatcher FunctionBodyMatcher(StringRef ContainingFunction) {
tools/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp 55 DeclarationMatcher HasClassB = just(has(recordDecl(hasName("B")).bind("b")));
77 DeclarationMatcher HasClassB =
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp 51 DeclarationMatcher HasClassX = recordDecl(has(recordDecl(hasName("X"))));
55 DeclarationMatcher YHasClassX =
64 DeclarationMatcher Recursive =
122 DeclarationMatcher Recursive =
153 DeclarationMatcher NotClassX =
165 DeclarationMatcher ClassXHasNotClassY =
175 DeclarationMatcher NamedNotRecord =
191 DeclarationMatcher ZDescendantClassX =
206 DeclarationMatcher ZDescendantClassXHasClassY =
229 DeclarationMatcher ZDescendantClassXDescendantClassY =
251 DeclarationMatcher CannotMemoize =
274 DeclarationMatcher CannotMemoize = classTemplateSpecializationDecl(
292 DeclarationMatcher YOrZDerivedFromX = cxxRecordDecl(
300 DeclarationMatcher XOrYOrZOrU =
305 DeclarationMatcher XOrYOrZOrUOrV =
326 DeclarationMatcher IsDerivedFromX = cxxRecordDecl(isDerivedFrom("X"));
334 DeclarationMatcher IsDirectlyDerivedFromX =
344 DeclarationMatcher IsAX = cxxRecordDecl(isSameOrDerivedFrom("X"));
352 DeclarationMatcher ZIsDerivedFromX =
354 DeclarationMatcher ZIsDirectlyDerivedFromX =
577 DeclarationMatcher IsDerivedFromX = objcInterfaceDecl(isDerivedFrom("X"));
595 DeclarationMatcher IsDirectlyDerivedFromX =
616 DeclarationMatcher IsAX = objcInterfaceDecl(isSameOrDerivedFrom("X"));
623 DeclarationMatcher ZIsDerivedFromX =
625 DeclarationMatcher ZIsDirectlyDerivedFromX =
688 DeclarationMatcher ClassX = has(recordDecl(hasName("::X")).bind("x"));
731 DeclarationMatcher ClassX = recordDecl(hasName("X")).bind("x");
769 DeclarationMatcher ClassWithOpStar =
775 DeclarationMatcher AnyOpStar = functionDecl(hasOverloadedOperatorName("*"));
975 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1));
984 DeclarationMatcher ReferenceClassX = varDecl(
1511 DeclarationMatcher DefinitionOfClassA =
1516 DeclarationMatcher DefinitionOfVariableA =
1521 DeclarationMatcher DefinitionOfMethodA =
1526 DeclarationMatcher DefinitionOfObjCMethodA =
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp 40 DeclarationMatcher NamedX = namedDecl(hasName("X"));
53 DeclarationMatcher NamedX = namedDecl(matchesName("::X"));
64 DeclarationMatcher StartsWithNo = namedDecl(matchesName("::no"));
68 DeclarationMatcher Abc = namedDecl(matchesName("a.*b.*c"));
74 DeclarationMatcher StartsWithK = namedDecl(matchesName(":k[^:]*$"));
83 DeclarationMatcher ClassMatcher(recordDecl());
90 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X")));
118 DeclarationMatcher ClassX = classTemplateDecl(hasName("X"));
124 DeclarationMatcher ClassX = classTemplateDecl(hasName("X"));
181 DeclarationMatcher Matcher = enumConstantDecl(hasName("A"));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp 324 DeclarationMatcher ClassX = recordDecl(hasName("X"));
333 DeclarationMatcher ClassX = recordDecl(hasName("X"));
621 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
634 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
663 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
687 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
1782 DeclarationMatcher MatchesInit = varDecl(hasInitializer(anything()));
1922 DeclarationMatcher m = recordDecl(
tools/clang/unittests/Tooling/SourceCodeBuildersTest.cpp 34 static DeclarationMatcher wrapMatcher(const StatementMatcher &Matcher) {
tools/clang/unittests/Tooling/StencilTest.cpp 38 static DeclarationMatcher wrapMatcher(const StatementMatcher &Matcher) {
tools/clang/unittests/Tooling/TransformerTest.cpp 47 isOrPointsTo(const clang::ast_matchers::DeclarationMatcher &TypeMatcher) {