Home
last modified time | relevance | path

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

/external/clang/include/clang/ASTMatchers/
DASTMatchersMacros.h315 template <typename T> struct TypeMatcher##MatcherName##Getter { \
320 QualType, internal::TypeMatcher##MatcherName##Getter, \
DASTMatchFinder.h127 void addMatcher(const TypeMatcher &NodeMatch,
DASTMatchers.h113 typedef internal::Matcher<QualType> TypeMatcher; typedef
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp783 TEST(TypeMatcher, MatchesClassType) { in TEST() argument
784 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A"))); in TEST()
789 TypeMatcher TypeDerivedFromA = hasDeclaration(recordDecl(isDerivedFrom("A"))); in TEST()
795 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST()
811 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST()
882 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()
894 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()
2227 const TypeMatcher AnyType = anything(); in TEST()
2240 expr(hasType(TypeMatcher( in TEST()
2242 TypeMatcher(hasDeclaration(anything())), in TEST()
[all …]
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp796 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher()