Searched refs:TypeMatcher (Results 1 – 7 of 7) sorted by relevance
151 void addMatcher(const TypeMatcher &NodeMatch,205 std::vector<std::pair<TypeMatcher, MatchCallback *>> Type;
379 template <typename T> struct TypeMatcher##MatcherName##Getter { \385 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
125 typedef internal::Matcher<QualType> TypeMatcher; typedef
147 TEST(TypeMatcher, MatchesClassType) { in TEST() argument148 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A"))); in TEST()153 TypeMatcher TypeDerivedFromA = in TEST()160 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST()170 TEST(TypeMatcher, MatchesDeclTypes) { in TEST() argument245 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()257 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()1066 pointsTo(TypeMatcher(anything())))))); in TEST()1077 pointsTo(TypeMatcher(anything())))))); in TEST()
555 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST()1297 const TypeMatcher AnyType = anything(); in TEST()1310 expr(hasType(TypeMatcher( in TEST()1312 TypeMatcher(hasDeclaration(anything())), in TEST()
16 TypeMatcher GarbageCollectedType() { in GarbageCollectedType()
907 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher()