Searched refs:DeclarationMatcher (Results 1 – 10 of 10) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 51 TEST(DeclarationMatcher, MatchHas) { in TEST() argument 52 DeclarationMatcher HasClassX = recordDecl(has(recordDecl(hasName("X")))); in TEST() 56 DeclarationMatcher YHasClassX = in TEST() 64 TEST(DeclarationMatcher, MatchHasRecursiveAllOf) { in TEST() argument 65 DeclarationMatcher Recursive = in TEST() 122 TEST(DeclarationMatcher, MatchHasRecursiveAnyOf) { in TEST() argument 123 DeclarationMatcher Recursive = in TEST() 153 TEST(DeclarationMatcher, MatchNot) { in TEST() argument 154 DeclarationMatcher NotClassX = in TEST() 166 DeclarationMatcher ClassXHasNotClassY = in TEST() [all …]
|
D | ASTMatchersInternalTest.cpp | 25 DeclarationMatcher HasEmptyName = recordDecl(hasName("")); in TEST() 32 DeclarationMatcher HasEmptyName = recordDecl(matchesName("")); in TEST() 39 DeclarationMatcher IsDerivedFromEmpty = cxxRecordDecl(isDerivedFrom("")); in TEST() 63 DeclarationMatcher HasClassB = just(has(recordDecl(hasName("B")).bind("b"))); in TEST() 85 DeclarationMatcher HasClassB = in TEST()
|
D | ASTMatchersNodeTest.cpp | 41 DeclarationMatcher NamedX = namedDecl(hasName("X")); in TEST() 54 DeclarationMatcher NamedX = namedDecl(matchesName("::X")); in TEST() 65 DeclarationMatcher StartsWithNo = namedDecl(matchesName("::no")); in TEST() 69 DeclarationMatcher Abc = namedDecl(matchesName("a.*b.*c")); in TEST() 75 DeclarationMatcher StartsWithK = namedDecl(matchesName(":k[^:]*$")); in TEST() 83 TEST(DeclarationMatcher, MatchClass) { in TEST() argument 84 DeclarationMatcher ClassMatcher(recordDecl()); in TEST() 91 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X"))); in TEST() 98 TEST(DeclarationMatcher, translationUnitDecl) { in TEST() argument 113 TEST(DeclarationMatcher, LinkageSpecification) { in TEST() argument [all …]
|
D | ASTMatchersTraversalTest.cpp | 22 TEST(DeclarationMatcher, hasMethod) { in TEST() argument 29 TEST(DeclarationMatcher, ClassDerivedFromDependentTemplateSpecialization) { in TEST() argument 39 TEST(DeclarationMatcher, hasDeclContext) { in TEST() argument 268 DeclarationMatcher ClassX = recordDecl(hasName("X")); in TEST() 277 DeclarationMatcher ClassX = recordDecl(hasName("X")); in TEST() 364 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() 377 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() 406 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() 430 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() 1285 DeclarationMatcher MatchesInit = varDecl(hasInitializer(anything())); in TEST() [all …]
|
/external/clang/unittests/AST/ |
D | DeclPrinterTest.cpp | 71 const DeclarationMatcher &NodeMatch, in PrintedDeclMatches() 114 const DeclarationMatcher &NodeMatch, in PrintedDeclCXX98Matches() 137 const DeclarationMatcher &NodeMatch, in PrintedDeclCXX11Matches() 149 const DeclarationMatcher &NodeMatch, in PrintedDeclCXX11nonMSCMatches() 161 PrintedDeclCXX1ZMatches(StringRef Code, const DeclarationMatcher &NodeMatch, in PrintedDeclCXX1ZMatches() 173 const DeclarationMatcher &NodeMatch, in PrintedDeclObjCMatches()
|
D | NamedDeclPrinterTest.cpp | 66 const DeclarationMatcher &NodeMatch, in PrintedNamedDeclMatches()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchFinder.h | 149 void addMatcher(const DeclarationMatcher &NodeMatch,
|
D | ASTMatchers.h | 123 typedef internal::Matcher<Decl> DeclarationMatcher; typedef
|
/external/v8/tools/clang/base_bind_rewriters/ |
D | BaseBindRewriters.cpp | 197 DeclarationMatcher GetMatcher() { in GetMatcher()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 901 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch, in addMatcher()
|