Home
last modified time | relevance | path

Searched refs:TypeMatcher (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/ASTMatchers/
DASTMatchersMacros.h334 template <typename T> struct TypeMatcher##MatcherName##Getter { \
339 QualType, internal::TypeMatcher##MatcherName##Getter, \
DASTMatchFinder.h127 void addMatcher(const TypeMatcher &NodeMatch,
DASTMatchers.h123 typedef internal::Matcher<QualType> TypeMatcher; typedef
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp813 TEST(TypeMatcher, MatchesClassType) { in TEST() argument
814 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A"))); in TEST()
819 TypeMatcher TypeDerivedFromA = hasDeclaration(recordDecl(isDerivedFrom("A"))); in TEST()
825 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST()
841 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST()
912 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()
924 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()
2341 const TypeMatcher AnyType = anything(); in TEST()
2354 expr(hasType(TypeMatcher( in TEST()
2356 TypeMatcher(hasDeclaration(anything())), in TEST()
[all …]
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp777 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher()