Lines Matching refs:bind
115 return PrintedDeclMatches(Code, Args, namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX98Matches()
136 return PrintedDeclMatches(Code, Args, namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX11Matches()
263 namespaceDecl(has(varDecl(hasName("X")))).bind("id"), in TEST()
272 usingDirectiveDecl().bind("id"), "using namespace X::A", in TEST()
278 "enum A { a0, a1, a2 };", enumDecl(hasName("A")).bind("id"), in TEST()
285 "enum A { a0 = -1, a1, a2 = 1 };", enumDecl(hasName("A")).bind("id"), in TEST()
293 enumDecl(has(enumConstantDecl(hasName("a0")))).bind("id"), in TEST()
300 "enum class A { a0, a1, a2 };", enumDecl(hasName("A")).bind("id"), in TEST()
307 "struct A { int a; };", recordDecl(hasName("A")).bind("id"), in TEST()
314 "struct A { struct { int i; }; };", recordDecl(hasName("A")).bind("id"), in TEST()
322 recordDecl(has(fieldDecl(hasName("A")))).bind("id"), "union {\nint A;\n}", in TEST()
455 functionDecl(hasName("A"), isDefinition()).bind("id"), in TEST()
554 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"), in TEST()
564 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
573 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
582 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
591 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
601 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
611 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
621 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
630 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
639 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
648 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
657 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
667 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
677 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
686 cxxDestructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
695 cxxDestructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
704 cxxMethodDecl(ofClass(hasName("A"))).bind("id"), in TEST()
713 cxxMethodDecl(ofClass(hasName("A"))).bind("id"), in TEST()
723 cxxMethodDecl(ofClass(hasName("A"))).bind("id"), in TEST()
733 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
743 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
752 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
762 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
771 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
798 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
821 cxxMethodDecl(ofClass(hasName("Z"))).bind("id"), in TEST()
1034 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1042 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1050 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1058 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1066 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1074 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1083 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1090 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1098 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1106 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1114 classTemplateDecl(hasName("A")).bind("id"), in TEST()
1124 classTemplateSpecializationDecl().bind("id"), in TEST()
1134 classTemplateSpecializationDecl().bind("id"), in TEST()
1144 classTemplateSpecializationDecl().bind("id"), in TEST()
1152 functionTemplateDecl(hasName("A")).bind("id"), in TEST()
1160 functionTemplateDecl(hasName("A")).bind("id"), in TEST()
1168 functionTemplateDecl(hasName("A")).bind("id"), in TEST()
1175 functionTemplateDecl(hasName("A")).bind("id"), in TEST()
1182 functionTemplateDecl(hasName("A")).bind("id"), in TEST()
1191 functionTemplateDecl(hasName("A")).bind("id"), in TEST()
1198 functionTemplateDecl(hasName("A")).bind("id"), in TEST()
1206 functionTemplateDecl(hasName("A")).bind("id"), in TEST()
1215 functionTemplateDecl(hasName("A")).bind("id"), in TEST()
1223 functionTemplateDecl(hasName("A")).bind("id"), in TEST()
1392 staticAssertDecl().bind("id"), in TEST()
1405 hasDescendant(namedDecl(hasName("printThis")))).bind("id"), in TEST()
1412 namedDecl(hasName("P1")).bind("id"), in TEST()
1416 namedDecl(hasName("P2")).bind("id"), in TEST()
1424 namedDecl(hasName("P1")).bind("id"), in TEST()
1431 namedDecl(hasName("Extension")).bind("id"), in TEST()
1438 namedDecl(hasName("Extension")).bind("id"), in TEST()