Lines Matching refs:DeclarationMatcher

51 TEST(DeclarationMatcher, MatchHas) {  in TEST()  argument
52 DeclarationMatcher HasClassX = recordDecl(has(recordDecl(hasName("X")))); in TEST()
56 DeclarationMatcher YHasClassX = in TEST()
64 TEST(DeclarationMatcher, MatchHasRecursiveAllOf) { in TEST() argument
65 DeclarationMatcher Recursive = in TEST()
122 TEST(DeclarationMatcher, MatchHasRecursiveAnyOf) { in TEST() argument
123 DeclarationMatcher Recursive = in TEST()
153 TEST(DeclarationMatcher, MatchNot) { in TEST() argument
154 DeclarationMatcher NotClassX = in TEST()
166 DeclarationMatcher ClassXHasNotClassY = in TEST()
176 DeclarationMatcher NamedNotRecord = in TEST()
191 TEST(DeclarationMatcher, HasDescendant) { in TEST() argument
192 DeclarationMatcher ZDescendantClassX = in TEST()
207 DeclarationMatcher ZDescendantClassXHasClassY = in TEST()
230 DeclarationMatcher ZDescendantClassXDescendantClassY = in TEST()
251 TEST(DeclarationMatcher, HasDescendantMemoization) { in TEST() argument
252 DeclarationMatcher CannotMemoize = in TEST()
257 TEST(DeclarationMatcher, HasDescendantMemoizationUsesRestrictKind) { in TEST() argument
271 TEST(DeclarationMatcher, HasAncestorMemoization) { in TEST() argument
275 DeclarationMatcher CannotMemoize = classTemplateSpecializationDecl( in TEST()
284 TEST(DeclarationMatcher, HasAttr) { in TEST() argument
292 TEST(DeclarationMatcher, MatchAnyOf) { in TEST() argument
293 DeclarationMatcher YOrZDerivedFromX = cxxRecordDecl( in TEST()
301 DeclarationMatcher XOrYOrZOrU = in TEST()
306 DeclarationMatcher XOrYOrZOrUOrV = in TEST()
326 TEST(DeclarationMatcher, ClassIsDerived) { in TEST() argument
327 DeclarationMatcher IsDerivedFromX = cxxRecordDecl(isDerivedFrom("X")); in TEST()
335 DeclarationMatcher IsAX = cxxRecordDecl(isSameOrDerivedFrom("X")); in TEST()
343 DeclarationMatcher ZIsDerivedFromX = in TEST()
540 TEST(DeclarationMatcher, IsLambda) { in TEST() argument
547 DeclarationMatcher ClassX = has(recordDecl(hasName("::X")).bind("x")); in TEST()
590 DeclarationMatcher ClassX = recordDecl(hasName("X")).bind("x"); in TEST()
593 DeclarationMatcher(anyOf( in TEST()
628 DeclarationMatcher ClassWithOpStar = in TEST()
634 DeclarationMatcher AnyOpStar = functionDecl(hasOverloadedOperatorName("*")); in TEST()
802 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1)); in TEST()
811 DeclarationMatcher ReferenceClassX = varDecl( in TEST()
1278 DeclarationMatcher DefinitionOfClassA = in TEST()
1283 DeclarationMatcher DefinitionOfVariableA = in TEST()
1288 DeclarationMatcher DefinitionOfMethodA = in TEST()