Searched refs:DeclarationMatcher (Results 1 – 6 of 6) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 25 DeclarationMatcher HasEmptyName = recordDecl(hasName("")); in TEST() 32 DeclarationMatcher HasEmptyName = recordDecl(matchesName("")); in TEST() 39 DeclarationMatcher IsDerivedFromEmpty = cxxRecordDecl(isDerivedFrom("")); in TEST() 65 DeclarationMatcher NamedX = namedDecl(hasName("X")); in TEST() 78 DeclarationMatcher NamedX = namedDecl(matchesName("::X")); in TEST() 89 DeclarationMatcher StartsWithNo = namedDecl(matchesName("::no")); in TEST() 93 DeclarationMatcher Abc = namedDecl(matchesName("a.*b.*c")); in TEST() 99 DeclarationMatcher StartsWithK = namedDecl(matchesName(":k[^:]*$")); in TEST() 107 TEST(DeclarationMatcher, MatchClass) { in TEST() argument 108 DeclarationMatcher ClassMatcher(recordDecl()); 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/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 908 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch, in addMatcher()
|