Lines Matching refs:hasName

43   auto Pattern = functionDecl(hasName("f"));  in TEST_P()
53 auto Pattern = functionDecl(hasName("f")); in TEST_P()
67 auto Pattern = functionDecl(hasName("f")); in TEST_P()
126 auto Pattern = functionDecl(hasName("shouldNotBeImported")); in TEST_P()
143 auto Pattern = functionDecl(hasName("shouldNotBeImported")); in TEST_P()
154 auto Pattern = functionDecl(hasName("f")); in ImportPath()
305 allOf(has(declRefExpr(to(parmVarDecl(hasName("a"))))), in TEST_P()
306 has(declRefExpr(to(parmVarDecl(hasName("b"))))), in TEST_P()
395 declRefExpr(hasDeclaration(varDecl(hasName("ptr"))), in TEST_P()
405 hasDeclaration(labelDecl(hasName("loop"))))), in TEST_P()
407 hasDeclaration(labelDecl(hasName("loop"))))))); in TEST_P()
426 hasName("f"), in TEST_P()
448 hasName("C"), hasType(asString("int")), in TEST_P()
451 hasName("X"), hasType(asString("int")), in TEST_P()
644 hasName("pi"), unless(varTemplateSpecializationDecl())))))))); in TEST_P()
777 hasDescendant(varDecl(hasName("a"), hasInitializer(hasDescendant( in TEST_P()
779 hasDescendant(varDecl(hasName("b"), hasInitializer(hasDescendant( in TEST_P()
805 has(declStmt(hasSingleDecl(varDecl(hasName("d"))))))))); in TEST_P()
822 FirstDeclMatcher<VarDecl>().match(FromTU, varDecl(hasName("d"))); in TEST_P()
835 FromTU, functionDecl(hasName("declToImport"))); in TEST_P()
847 FromTU, functionDecl(hasName("declToImport"))); in TEST_P()
852 To, functionDecl(hasName("declToImport"), in TEST_P()
864 FromTU, functionDecl(hasName("declToImport"))); in TEST_P()
890 functionDecl(hasDescendant(usingDecl(hasName("bar"))))); in TEST_P()
910 functionDecl(hasDescendant(usingEnumDecl(hasName("bar"))))); in TEST_P()
946 namespaceDecl(has(usingShadowDecl(hasName("bar"))))); in TEST_P()
951 namespaceDecl(has(usingShadowDecl(hasName("baz"))))); in TEST_P()
997 unless(has(functionDecl(hasName("declToImport")))))))); in TEST_P()
1002 unless(has(cxxRecordDecl(hasName("declToImport")))))))); in TEST_P()
1067 FromTU, templateTypeParmDecl(hasName("T"))); in TEST_P()
1076 FromTU, templateTypeParmDecl(hasName("T"))); in TEST_P()
1088 FromTU, functionDecl(hasName("f"))); in TEST_P()
1111 FromTU, templateTemplateParmDecl(hasName("TT"))); in TEST_P()
1123 FromTU, templateTemplateParmDecl(hasName("TT"))); in TEST_P()
1133 To->getTranslationUnitDecl(), classTemplateDecl(hasName("X"))); in TEST_P()
1140 FromTU, nonTypeTemplateParmDecl(hasName("N"))); in TEST_P()
1148 FromTU, nonTypeTemplateParmDecl(hasName("S"))); in TEST_P()
1235 hasName("S2"))); in TEST_P()
1239 hasName("S2"))); in TEST_P()
1321 auto Matcher = functionDecl(hasName("declToImport"), in TEST_P()
1323 hasParameter(0, hasName("y")), in TEST_P()
1324 hasParameter(1, hasName("x")), in TEST_P()
1433 hasName("Base"), has(classTemplateSpecializationDecl())))); in TEST_P()
1471 hasName("X"), unless(has(classTemplateSpecializationDecl()))))); in TEST_P()
1477 Pattern = namespaceDecl(has(classTemplateSpecializationDecl(hasName("X")))); in TEST_P()
1589 hasName("Base"), in TEST_P()
1633 hasName("Base"), in TEST_P()
1634 has(classTemplateSpecializationDecl(has(fieldDecl(hasName("a")))))))); in TEST_P()
1651 FromTU, classTemplateDecl(hasName("B"))); in TEST_P()
1666 FromTU, functionDecl(hasName("f"))); in TEST_P()
1669 FromTU, classTemplateDecl(hasName("B"))); in TEST_P()
1703 FromTU, classTemplateDecl(hasName("B"))); in TEST_P()
1737 FromTU, cxxRecordDecl(hasName("B"))); in TEST_P()
1837 FromTU, classTemplateSpecializationDecl(hasName("B"))); in TEST_P()
1858 FirstDeclMatcher<VarDecl>().match(FromTU, varDecl(hasName("object0"))); in TEST_P()
1861 FirstDeclMatcher<VarDecl>().match(FromTU, varDecl(hasName("object1"))); in TEST_P()
1886 FirstDeclMatcher<RecordDecl>().match(FromTU0, recordDecl(hasName("X"))); in TEST_P()
1888 FirstDeclMatcher<RecordDecl>().match(FromTU1, recordDecl(hasName("X"))); in TEST_P()
1896 DeclCounter<RecordDecl>().match(ToTU, recordDecl(hasName("X")))); in TEST_P()
1919 FirstDeclMatcher<RecordDecl>().match(FromTU0, recordDecl(hasName("X"))); in TEST_P()
1921 FirstDeclMatcher<RecordDecl>().match(FromTU1, recordDecl(hasName("X"))); in TEST_P()
1929 DeclCounter<RecordDecl>().match(ToTU, recordDecl(hasName("X")))); in TEST_P()
1933 auto Pattern = varDecl(hasName("x")); in TEST_P()
1952 FromTU, functionDecl(hasName("f"))); in TEST_P()
1959 auto Pattern = varDecl(hasName("x")); in TEST_P()
1970 FromTU, functionDecl(hasName("f"))); in TEST_P()
1977 auto Pattern = varDecl(hasName("a")); in TEST_P()
2001 FromTU, functionDecl(hasName("f"))); in TEST_P()
2010 auto Pattern = varDecl(hasName("x")); in TEST_P()
2030 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2048 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2072 cxxMethodDecl(hasName("f"), hasParent(cxxRecordDecl(hasName("D")))); in TEST_P()
2089 cxxMethodDecl(hasName("f"), hasParent(cxxRecordDecl(hasName("B")))); in TEST_P()
2132 cxxMethodDecl(hasName("f"), hasParent(cxxRecordDecl(hasName("B")))); in TEST_P()
2134 cxxMethodDecl(hasName("f"), hasParent(cxxRecordDecl(hasName("D")))); in TEST_P()
2162 cxxMethodDecl(hasName("f"), hasParent(cxxRecordDecl(hasName("B")))); in TEST_P()
2164 cxxMethodDecl(hasName("f"), hasParent(cxxRecordDecl(hasName("D")))); in TEST_P()
2166 hasName("f"), hasParent(cxxRecordDecl(hasName("B"))), isDefinition()); in TEST_P()
2168 hasName("f"), hasParent(cxxRecordDecl(hasName("D"))), isDefinition()); in TEST_P()
2169 auto FDefAllP = cxxMethodDecl(hasName("f"), isDefinition()); in TEST_P()
2200 cxxMethodDecl(hasName("f"), hasParent(cxxRecordDecl(hasName("B")))); in TEST_P()
2202 hasName("f"), hasParent(cxxRecordDecl(hasName("B"))), isDefinition()); in TEST_P()
2203 auto DFP = cxxMethodDecl(hasName("f"), hasParent(cxxRecordDecl(hasName("D"))), in TEST_P()
2220 ToTU, cxxRecordDecl(hasName("B"))); in TEST_P()
2223 ToTU, cxxMethodDecl(hasName("f"), isDefinition())); in TEST_P()
2253 cxxMethodDecl(hasName("f"), hasParent(cxxRecordDecl(hasName("B")))); in TEST_P()
2255 hasName("f"), hasParent(cxxRecordDecl(hasName("B"))), isDefinition()); in TEST_P()
2257 cxxMethodDecl(hasName("f"), hasParent(cxxRecordDecl(hasName("D")))); in TEST_P()
2259 hasName("f"), hasParent(cxxRecordDecl(hasName("D"))), isDefinition()); in TEST_P()
2260 auto FooDef = functionDecl(hasName("foo")); in TEST_P()
2282 ToTU, cxxRecordDecl(hasName("B"))); in TEST_P()
2284 ToTU, cxxRecordDecl(hasName("D"))); in TEST_P()
2287 ToTU, cxxMethodDecl(hasName("f"), isDefinition())); in TEST_P()
2290 ToTU, cxxMethodDecl(hasName("f"), isDefinition())); in TEST_P()
2312 auto Pattern = varDecl(hasName("v")); in TEST_P()
2333 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2352 FromTU, functionDecl(hasName("g0"))); in TEST_P()
2361 FromTU, functionDecl(hasName("g1"))); in TEST_P()
2366 ASSERT_EQ(DeclCounter<FunctionDecl>().match(ToTU, functionDecl(hasName("f"))), in TEST_P()
2379 FromTU, functionDecl(hasName("foo"))); in TEST_P()
2405 FromTU, functionDecl(hasName("f"))); in TEST_P()
2409 ToD, functionDecl(hasName("f"), hasDescendant(declRefExpr())))); in TEST_P()
2431 FromTU, functionDecl(hasName("g"))); in TEST_P()
2437 functionDecl(hasName("f"), hasDescendant(declRefExpr())))))); in TEST_P()
2452 FromTU1, functionTemplateDecl(hasName("f"))); in TEST_P()
2456 FromTU2, functionTemplateDecl(hasName("f"))); in TEST_P()
2474 FromTU1, functionTemplateDecl(hasName("f"))); in TEST_P()
2478 FromTU2, functionTemplateDecl(hasName("f"))); in TEST_P()
2494 FromTU, functionDecl(hasName("foo"))); in TEST_P()
2542 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2560 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2577 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2595 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2612 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2641 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2669 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2693 auto FunctionPattern = functionDecl(hasName("f")); in TEST_P()
2694 auto ClassPattern = cxxRecordDecl(hasName("X")); in TEST_P()
2727 auto FunctionPattern = functionDecl(hasName("f")); in TEST_P()
2728 auto ClassPattern = cxxRecordDecl(hasName("X")); in TEST_P()
2777 auto FunctionPattern = functionDecl(hasName("f")); in TEST_P()
2778 auto ClassPattern = cxxRecordDecl(hasName("X")); in TEST_P()
2820 auto Pattern = functionDecl(hasName("f")); in TEST_P()
2868 FromTU, functionDecl(hasName("f"))); in TEST_P()
2871 FromTU, cxxRecordDecl(hasName("X"))); in TEST_P()
2884 ToTU, cxxRecordDecl(hasName("X"))); in TEST_P()
2923 enumDecl(has(enumConstantDecl(hasName("THING_VALUE"))), in TEST_P()
2924 hasTypedefForAnonDecl(hasName("thing_t"))); in TEST_P()
2926 ImportAction ImportFoo{"foo.c", "main.c", functionDecl(hasName("foo"))}, in TEST_P()
2927 ImportMoo{"moo.c", "main.c", functionDecl(hasName("moo"))}; in TEST_P()
3113 testNoImportOf(cxxMethodDecl(hasName("f")), Code); in TEST_P()
3121 FromTU, cxxRecordDecl(hasName("A"))); in TEST_P()
3130 FromTU, cxxRecordDecl(hasName("A"))); in TEST_P()
3143 FromTU, cxxRecordDecl(hasName("A"))); in TEST_P()
3151 FromTU, cxxRecordDecl(hasName("A"))); in TEST_P()
3162 FromTU, fieldDecl(hasName("x"))); in TEST_P()
3169 FromTU, fieldDecl(hasName("x"))); in TEST_P()
3178 FirstDeclMatcher<FieldDecl>().match(FromTU, fieldDecl(hasName("x"))); in TEST_P()
3245 FromTU, fieldDecl(hasName("x"))); in TEST_P()
3253 FromTU, fieldDecl(hasName("x"))); in TEST_P()
3265 FromTU, functionDecl(hasName("x"), isDefinition())); in TEST_P()
3273 FromTU, functionDecl(hasName("x"), isDefinition())); in TEST_P()
3285 FromTU, functionDecl(hasName("x"), isDefinition())); in TEST_P()
3294 FromTU, functionDecl(hasName("x"), isDefinition())); in TEST_P()
3315 FirstDeclMatcher<RecordDecl>().match(FromTU, recordDecl(hasName("A"))); in TEST_P()
3321 FirstDeclMatcher<FieldDecl>().match(ToTU, fieldDecl(hasName("entry0"))); in TEST_P()
3323 FirstDeclMatcher<FieldDecl>().match(ToTU, fieldDecl(hasName("entry1"))); in TEST_P()
3328 R0, recordDecl(has(fieldDecl(hasName("next")))))); in TEST_P()
3330 R1, recordDecl(has(fieldDecl(hasName("next")))))); in TEST_P()
3342 FromTU, functionDecl(hasName("f"))); in TEST_P()
3387 ToTU, classTemplateSpecializationDecl(hasName("X"))); in TEST_P()
3400 FromTU, classTemplateSpecializationDecl(hasName("X"))); in TEST_P()
3439 FromTU, classTemplateSpecializationDecl(hasName("X"))); in TEST_P()
3440 auto FunPattern = functionDecl(hasName("g"), in TEST_P()
3451 ToTU, classTemplateSpecializationDecl(hasName("X"))); in TEST_P()
3468 FromTU, classTemplateSpecializationDecl(hasName("X"), isDefinition())); in TEST_P()
3505 FromTU, classTemplateSpecializationDecl(hasName("X"))); in TEST_P()
3517 ToTU, classTemplateSpecializationDecl(hasName("X")))); in TEST_P()
3543 FromTU, classTemplateSpecializationDecl(hasName("X"))); in TEST_P()
3557 ToTU, classTemplateSpecializationDecl(hasName("X"))); in TEST_P()
3674 auto *FromD = FirstDeclMatcher<VarDecl>().match(TU, varDecl(hasName("a"))); in TEST_P()
3700 FromTU, varDecl(hasName("a"))); // Decl with init in TEST_P()
3702 FromTU, varDecl(hasName("a"))); // Decl with definition in TEST_P()
3726 FromTU, varDecl(hasName("a"))); // Decl with init in TEST_P()
3728 FromTU, varDecl(hasName("a"))); // Decl with definition in TEST_P()
3736 ToTU, varDecl(hasName("a"))); // Decl with init in TEST_P()
3757 FromTU, varDecl(hasName("a"))); in TEST_P()
3759 FromTU, varDecl(hasName("a"))); // Decl with definition and with init. in TEST_P()
3767 ToTU, varDecl(hasName("a"))); in TEST_P()
3797 FromTU, functionDecl(hasName("declToImport"))); in TEST_P()
3803 FromF, bindingDecl(hasName(BindName))); in TEST_P()
3853 auto Pattern = recordDecl(hasName("X"), unless(isImplicit())); in TEST_P()
3871 auto Pattern = recordDecl(hasName("X"), unless(isImplicit())); in TEST_P()
3890 auto Pattern = recordDecl(hasName("X"), unless(isImplicit())); in TEST_P()
3925 FromTU, cxxRecordDecl(hasName("F"), isDefinition())); in TEST_P()
3927 FromTU, cxxRecordDecl(hasName("F"))); in TEST_P()
3960 FromTu, cxxRecordDecl(hasName("declToImport"))); in TEST_P()
3971 FromTu, cxxRecordDecl(hasName("X"))); in TEST_P()
4032 auto Pattern = classTemplateSpecializationDecl(hasName("X")); in TEST_P()
4078 FromTU0, classTemplateDecl(hasName("F"))); in TEST_P()
4087 FromTU1, classTemplateDecl(hasName("F"))); in TEST_P()
4117 ToTU, classTemplateDecl(hasName("F"))); in TEST_P()
4125 FromTU, classTemplateDecl(hasName("F"))); in TEST_P()
4147 FromTU0, classTemplateDecl(hasName("F"))); in TEST_P()
4156 FromTU1, classTemplateDecl(hasName("F"))); in TEST_P()
4186 FromTU1, cxxRecordDecl(hasName("F"))); in TEST_P()
4251 ToTU, functionDecl(hasName("foo"))); in TEST_P()
4255 FromTU, functionDecl(hasName("foo"))); in TEST_P()
4292 auto *A0 = FirstDeclMatcher<VarDecl>().match(TU, varDecl(hasName("A"))); in TEST_P()
4293 auto *A1 = LastDeclMatcher<VarDecl>().match(TU, varDecl(hasName("A"))); in TEST_P()
4343 unless(has(functionDecl(hasName("f"), isTemplateInstantiation())))); in TEST_P()
4347 FromTU, functionDecl(hasName("foo"))); in TEST_P()
4366 auto Instantiation = functionDecl(hasName("f"), isTemplateInstantiation()); in TEST_P()
4390 functionDecl(hasName("f"), isExplicitTemplateSpecialization()); in TEST_P()
4412 auto Spec = functionDecl(hasName("f"), isExplicitTemplateSpecialization(), in TEST_P()
4456 FromTU, functionDecl(hasName("foo"))); in TEST_P()
4461 DeclCounter<FunctionDecl>().match(FromTU, functionDecl(hasName("f"))), in TEST_P()
4462 DeclCounter<FunctionDecl>().match(ToTU, functionDecl(hasName("f")))); in TEST_P()
4475 FromTU, classTemplateDecl(hasName("B"))); in TEST_P()
4491 FromTU, functionDecl(hasName("f"))); in TEST_P()
4494 FromTU, classTemplateDecl(hasName("B"))); in TEST_P()
4517 typedefNameDecl(hasName("U"))); in TEST_P()
4529 typedefNameDecl(hasName("U"))); in TEST_P()
4547 functionDecl(hasName("f"), isExplicitTemplateSpecialization())); in TEST_P()
4573 FromTU, functionTemplateDecl(hasName("f"))); in TEST_P()
4597 FromTU, classTemplateDecl(hasName("S"))); in TEST_P()
4600 FromTU, classTemplatePartialSpecializationDecl(hasName("S"))); in TEST_P()
4707 FromTU, varTemplateDecl(hasName("X1"))); in TEST_P()
4710 FromTU, varTemplatePartialSpecializationDecl(hasName("X1"))); in TEST_P()
4712 FromTU, varTemplateDecl(hasName("X2"))); in TEST_P()
4715 FromTU, varTemplatePartialSpecializationDecl(hasName("X2"))); in TEST_P()
4772 FromTU, typeAliasTemplateDecl(hasName("S1"))); in TEST_P()
4774 FromTU, typeAliasTemplateDecl(hasName("S2"))); in TEST_P()
4849 auto *D = FirstDeclMatcher<VarDecl>().match(ToTU, varDecl(hasName("a"))); in TEST_P()
4875 ToTU, classTemplateDecl(hasName("X"))); in TEST_P()
4877 ToTU, functionDecl(hasName("foo"))); in TEST_P()
4911 FirstDeclMatcher<RecordDecl>().match(ToTU, recordDecl(hasName("Foo"))); in TEST_P()
4913 FirstDeclMatcher<RecordDecl>().match(ToTU, recordDecl(hasName("A"))); in TEST_P()
4946 .match(ToTU, varDecl(hasName("V"))) in TEST_P()
4949 FirstDeclMatcher<RecordDecl>().match(ToTU, recordDecl(hasName("A"))); in TEST_P()
4951 FirstDeclMatcher<RecordDecl>().match(ToTU, recordDecl(hasName("B"))); in TEST_P()
4958 ToTU, fieldDecl(hasName("V"), in TEST_P()
4959 hasParent(recordDecl(hasName("A")))))); in TEST_P()
4963 ToTU, fieldDecl(hasName("V"), in TEST_P()
4964 hasParent(recordDecl(hasName("B")))))); in TEST_P()
4968 ToTU, varDecl(hasName("V"), in TEST_P()
5065 ToTU, cxxRecordDecl(hasName("Y"))); in TEST_P()
5090 auto *Y = FirstDeclMatcher<CXXRecordDecl>().match(ToTU, cxxRecordDecl(hasName("Y"))); in TEST_P()
5116 ToTU, typeAliasDecl(hasName("alias_of_f"))); in TEST_P()
5131 ToTU, classTemplateDecl(hasName("F"))); in TEST_P()
5154 ToTU, classTemplateDecl(hasName("F"))); in TEST_P()
5176 ToTU, classTemplateDecl(hasName("F"))); in TEST_P()
5194 FirstDeclMatcher<FunctionDecl>().match(ToTU, functionDecl(hasName("F"))); in TEST_P()
5218 ToTU, classTemplateDecl(hasName("X"))); in TEST_P()
5224 ToTU, classTemplateSpecializationDecl(hasName("X"))); in TEST_P()
5259 ToTU, functionTemplateDecl(hasName("F"))); in TEST_P()
5282 ToTU, cxxRecordDecl(hasName("X"))); in TEST_P()
5307 auto *E = FirstDeclMatcher<EnumDecl>().match(ToTU, enumDecl(hasName("E"))); in TEST_P()
5309 ToTU, enumConstantDecl(hasName("A"))); in TEST_P()
5346 LastDeclMatcher<NamespaceDecl>().match(ToTU, namespaceDecl(hasName("N"))); in TEST_P()
5347 auto *A = FirstDeclMatcher<VarDecl>().match(ToTU, varDecl(hasName("A"))); in TEST_P()
5375 FromTU, cxxRecordDecl(hasName("X"), unless(isImplicit()))); in TEST_P()
5378 cxxRecordDecl(hasName("X"), isDefinition(), unless(isImplicit()))); in TEST_P()
5406 ToTU, functionTemplateDecl(hasName("foo"))); in TEST_P()
5414 FromTU, functionTemplateDecl(hasName("foo"))); in TEST_P()
5461 FromTU, classTemplateSpecializationDecl(hasName("X"))); in TEST_P()
5467 ToTU, classTemplateSpecializationDecl(hasName("X"))), in TEST_P()
5484 FromTU, functionDecl(hasName("foo"))); in TEST_P()
5492 DeclCounter<FunctionDecl>().match(ToTU, functionDecl(hasName("foo"))), in TEST_P()
5511 FromTU, functionDecl(hasName("f"))); in TEST_P()
5513 LastDeclMatcher<FunctionDecl>().match(FromTU, functionDecl(hasName("f"))); in TEST_P()
5520 EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, functionDecl(hasName("f"))), in TEST_P()
5524 FirstDeclMatcher<FunctionDecl>().match(ToTU, functionDecl(hasName("f"))); in TEST_P()
5549 FromTU, cxxRecordDecl(hasName("X"))); in TEST_P()
5561 FromTU, cxxMethodDecl(hasName("f"))); in TEST_P()
5571 FromTU, cxxMethodDecl(hasName("ok"))); in TEST_P()
5602 FromTU, cxxRecordDecl(hasName("F"), isDefinition())); in TEST_P()
5604 FromTU, cxxRecordDecl(hasName("A"), isDefinition())); in TEST_P()
5606 FromTU, cxxRecordDecl(hasName("B"), isDefinition())); in TEST_P()
5608 FromTU, namespaceDecl(hasName("NS"))); in TEST_P()
5644 FromTU, classTemplateDecl(hasName("F")))); in TEST_P()
5655 FromTU, cxxRecordDecl(hasName("A"), isImplicit()))); in TEST_P()
5660 FromTU, cxxRecordDecl(hasName("X"), isImplicit()))); in TEST_P()
5674 FromTU, namespaceDecl(hasName("X"))); in TEST_P()
5685 FromTU, functionDecl(hasName("f"))); in TEST_P()
5695 FromTU, functionDecl(hasName("ok"))); in TEST_P()
5729 FirstDeclMatcher<VarDecl>().match(FromTU, varDecl(hasName("z"))); in TEST_P()
5753 FromTU, cxxRecordDecl(hasName("X"))); in TEST_P()
5765 ToTU, cxxRecordDecl(hasName("X"), isDefinition())); in TEST_P()
5773 ToTU, cxxRecordDecl(hasName("X"), unless(isDefinition()))); in TEST_P()
5789 FromTU, cxxRecordDecl(hasName("X"))); in TEST_P()
5811 functionDecl(hasName("foo"), hasAncestor(cxxRecordDecl(hasName("A")))); in TEST_P()
5813 functionDecl(hasName("foo"), hasAncestor(cxxRecordDecl(hasName("B")))); in TEST_P()
5815 functionDecl(hasName("foo"), hasAncestor(cxxRecordDecl(hasName("C")))); in TEST_P()
5873 FromTU, functionDecl(hasName("f"))); in TEST_P()
5911 FromTU, cxxRecordDecl(hasName("A"), hasDefinition())); in TEST_P()
5921 FromTU, namespaceDecl(hasName("ns"))); in TEST_P()
5979 FromTU, functionDecl(hasName("f"))); in TEST_P()
6001 ToTU, classTemplateDecl(hasName("Class"))); in TEST_P()
6003 ToTU, classTemplateDecl(hasName("Class"))); in TEST_P()
6012 FromTU, classTemplateDecl(hasName("Class"))); in TEST_P()
6014 FromTU, classTemplateDecl(hasName("Class"))); in TEST_P()
6051 ToTU, cxxRecordDecl(hasName("X"))); in TEST_P()
6066 FromTU, cxxRecordDecl(hasName("X"))); in TEST_P()
6096 ToTU, typedefDecl(hasName(TypeName))); in TEST_P()
6100 FromTU, typedefDecl(hasName(TypeName))); in TEST_P()
6120 FromTU, cxxRecordDecl(hasName("X"), unless(isImplicit()))); in TEST_P()
6142 FromTU, cxxRecordDecl(hasName("X"))); in TEST_P()
6145 ImportedX, cxxConstructorDecl(hasName("X"), unless(isImplicit()))); in TEST_P()
6147 ImportedX, cxxConstructorDecl(hasName("X"), unless(isImplicit()))); in TEST_P()
6239 FromTU, functionDecl(hasName("f"))); in TEST_P()
6263 FromTU, functionDecl(hasName("f"))); in TEST_P()
6334 FromTU, functionDecl(hasName("foo"))); in TEST_P()
6352 FromTU, functionDecl(hasName("foo"))); in TEST_P()
6370 FromTU, functionDecl(hasName("foo"))); in TEST_P()
6389 FromTU, functionDecl(hasName("foo"))); in TEST_P()
6514 FromTU, functionDecl(hasName("f"))); in TEST_P()
6533 FromTU, functionDecl(hasName("f"))); in TEST_P()
6550 FromTU, functionDecl(hasName("f"))); in TEST_P()
6569 FromTU, functionDecl(hasName("f"))); in TEST_P()
6585 auto Pattern = varDecl(hasName("X")); in TEST_P()
6593 auto Pattern = varDecl(hasName("Y")); in TEST_P()
6628 auto Pattern = varDecl(hasName("X")); in TEST_P()
6662 auto Pattern = varDecl(hasName("X")); in TEST_P()
6712 FirstDeclMatcher<DT>().match(FromTU, namedDecl(hasName("test"))); in importAttr()
6763 FromTU, cxxRecordDecl(hasName("S"), unless(isImplicit()))); in TEST_P()
6780 cxxRecordDecl(hasName("A"), unless(isImplicit()))); in TEST_P()
6795 FromTU, functionDecl(hasName("foo"))); in TEST_P()
7132 FromTU, functionDecl(hasName("f"))); in TEST_P()
7161 TU, typedefNameDecl(hasName("U"))); in TEST_P()
7181 TU, typedefNameDecl(hasName("U"))); in TEST_P()
7204 TU, typedefNameDecl(hasName("U"))); in TEST_P()
7221 FirstDeclMatcher<TypedefDecl>().match(TU, typedefDecl(hasName("X"))); in TEST_P()
7254 classTemplateDecl(hasName("basic_stringbuf"), unless(isImplicit()))); in TEST_P()
7260 classTemplateDecl(hasName("basic_stringbuf"), unless(isImplicit()))); in TEST_P()
7294 FromTU, enumDecl(hasName("tagname"), in TEST_P()
7347 TU, cxxRecordDecl(hasName("A"))); in TEST_P()
7349 TU, cxxRecordDecl(hasName("B"))); in TEST_P()
7376 FromTU, cxxRecordDecl(hasName("C"))); in TEST_P()
7409 TU, cxxRecordDecl(hasName("A"))); in TEST_P()
7411 TU, cxxRecordDecl(hasName("B"))); in TEST_P()
7413 TU, cxxRecordDecl(hasName("V1"))); in TEST_P()
7415 TU, cxxRecordDecl(hasName("V2"))); in TEST_P()
7500 FromTU, cxxRecordDecl(hasName("D2"))); in TEST_P()
7523 FromTU, cxxRecordDecl(hasName("B"))); in TEST_P()
7532 functionDecl(hasName("f"), parameterCountIs(0))))); in TEST_P()
7535 functionDecl(hasName("f"), parameterCountIs(1))))); in TEST_P()
7695 FromTU, cxxRecordDecl(hasName("A"))); in TEST_P()
7722 FromTU, cxxRecordDecl(hasName("A"))); in TEST_P()
7750 fieldDecl(hasName("X"), hasParent(classTemplateSpecializationDecl()))); in TEST_P()
7765 fieldDecl(hasName("X"), hasParent(classTemplateSpecializationDecl()))); in TEST_P()
7788 fieldDecl(hasName("X"), hasParent(classTemplateSpecializationDecl()))); in TEST_P()
7812 FromTU, functionDecl(hasName("f"), isDefinition())); in TEST_P()
7837 FromTU, functionDecl(hasName("other"))); in TEST_P()
7844 ToTU, functionDecl(hasName("bar"))); in TEST_P()