Home
last modified time | relevance | path

Searched refs:DeclarationMatcher (Results 1 – 6 of 6) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp25 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/
DDeclPrinterTest.cpp71 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()
DNamedDeclPrinterTest.cpp66 const DeclarationMatcher &NodeMatch, in PrintedNamedDeclMatches()
/external/clang/include/clang/ASTMatchers/
DASTMatchFinder.h149 void addMatcher(const DeclarationMatcher &NodeMatch,
DASTMatchers.h123 typedef internal::Matcher<Decl> DeclarationMatcher; typedef
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp908 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch, in addMatcher()