Lines Matching refs:DeclarationMatcher
41 DeclarationMatcher NamedX = namedDecl(hasName("X")); in TEST()
54 DeclarationMatcher NamedX = namedDecl(matchesName("::X")); in TEST()
65 DeclarationMatcher StartsWithNo = namedDecl(matchesName("::no")); in TEST()
69 DeclarationMatcher Abc = namedDecl(matchesName("a.*b.*c")); in TEST()
75 DeclarationMatcher StartsWithK = namedDecl(matchesName(":k[^:]*$")); in TEST()
83 TEST(DeclarationMatcher, MatchClass) { in TEST() argument
84 DeclarationMatcher ClassMatcher(recordDecl()); in TEST()
91 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X"))); in TEST()
98 TEST(DeclarationMatcher, translationUnitDecl) { in TEST() argument
113 TEST(DeclarationMatcher, LinkageSpecification) { in TEST() argument
119 DeclarationMatcher ClassX = classTemplateDecl(hasName("X")); in TEST()
125 DeclarationMatcher ClassX = classTemplateDecl(hasName("X")); in TEST()
144 TEST(DeclarationMatcher, MatchCudaDecl) { in TEST() argument
172 DeclarationMatcher Matcher = enumConstantDecl(hasName("A")); in TEST()