Lines Matching refs:recordDecl
23 DeclarationMatcher HasEmptyName = recordDecl(hasName(""));
30 DeclarationMatcher HasEmptyName = recordDecl(matchesName(""));
37 DeclarationMatcher IsDerivedFromEmpty = recordDecl(isDerivedFrom(""));
93 DeclarationMatcher ClassMatcher(recordDecl());
101 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X")));
109 DeclarationMatcher IsDerivedFromX = recordDecl(isDerivedFrom("X"));
117 DeclarationMatcher IsAX = recordDecl(isSameOrDerivedFrom("X"));
126 recordDecl(hasName("Z"), isDerivedFrom("X"));
245 recordDecl(isDerivedFrom(recordDecl(hasName("Some"))))));
252 recordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A"))))));
269 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1")))))));
273 hasInitializer(hasType(recordDecl(isDerivedFrom("Base2")))))));
277 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"),
294 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1")))))));
298 hasInitializer(hasType(recordDecl(isDerivedFrom("Base2")))))));
302 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"),
306 recordDecl(isDerivedFrom("::ns::X"))));
309 recordDecl(isDerivedFrom("::ns::X"))));
313 recordDecl(isDerivedFrom(recordDecl(hasName("X")).bind("test")))));
319 recordDecl(isDerivedFrom(namedDecl(hasName("X"))))));
324 recordDecl(hasMethod(hasName("func")))));
326 recordDecl(hasMethod(isPublic()))));
336 recordDecl(hasName("B"), isDerivedFrom(recordDecl()))));
346 recordDecl(hasDeclContext(namespaceDecl(hasName("M"))))));
353 recordDecl(hasDeclContext(namespaceDecl(hasName("N"))))));
360 recordDecl(hasDeclContext(namespaceDecl(
402 recordDecl(hasName("T")))))))));
407 recordDecl(hasName("T"))))),
413 recordDecl(hasName("T"))))),
420 recordDecl(anyOf(hasName("Y"), allOf(isDerivedFrom("X"), hasName("Z"))));
429 recordDecl(anyOf(hasName("X"), hasName("Y"), hasName("Z"), hasName("U")));
434 recordDecl(anyOf(hasName("X"), hasName("Y"), hasName("Z"), hasName("U"),
445 DeclarationMatcher HasClassX = recordDecl(has(recordDecl(hasName("X"))));
450 recordDecl(hasName("Y"), has(recordDecl(hasName("X"))));
459 recordDecl(
460 has(recordDecl(
461 has(recordDecl(hasName("X"))),
462 has(recordDecl(hasName("Y"))),
464 has(recordDecl(
465 has(recordDecl(hasName("A"))),
466 has(recordDecl(hasName("B"))),
517 recordDecl(
519 has(recordDecl(
521 has(recordDecl(
523 has(recordDecl(
526 has(recordDecl(
529 has(recordDecl(
531 has(recordDecl(
548 recordDecl(
560 recordDecl(
562 has(recordDecl(hasName("Z"))),
564 has(recordDecl(hasName("Y")))));
572 recordDecl(
573 hasDescendant(recordDecl(hasName("X"))),
587 recordDecl(
588 hasDescendant(recordDecl(has(recordDecl(hasName("Y"))),
610 recordDecl(
611 hasDescendant(recordDecl(hasDescendant(recordDecl(hasName("Y"))),
761 expr(hasType(pointsTo(recordDecl(hasName("X")))),
772 expr(hasType(pointsTo(recordDecl(hasName("X")))),
784 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A")));
789 TypeMatcher TypeDerivedFromA = hasDeclaration(recordDecl(isDerivedFrom("A")));
796 recordDecl(hasName("A"), has(recordDecl(hasName("B")))));
803 DeclarationMatcher ClassX = has(recordDecl(hasName("::X")).bind("x"));
812 recordDecl(hasName("A"), has(recordDecl(hasName("B")).bind("b"))));
846 DeclarationMatcher ClassX = recordDecl(hasName("X")).bind("x");
850 recordDecl(hasName("A"), hasDescendant(ClassX)),
851 recordDecl(hasName("B"), hasDescendant(ClassX)))),
882 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X")));
894 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X")));
905 DeclarationMatcher ClassX = recordDecl(hasName("X"));
914 DeclarationMatcher ClassX = recordDecl(hasName("X"));
939 memberCallExpr(on(hasType(recordDecl(hasName("Y")))));
958 memberCallExpr(on(hasType(pointsTo(recordDecl(hasName("Y"))))));
1058 recordDecl(hasMethod(hasOverloadedOperatorName("*")));
1086 memberCallExpr(thisPointerType(recordDecl(hasName("Y"))));
1118 memberCallExpr(thisPointerType(recordDecl(hasName("Y"))))))));
1185 sizeOfExpr(hasArgumentOfType(hasDeclaration(recordDecl(hasName("A")))))));
1187 hasArgumentOfType(hasDeclaration(recordDecl(hasName("string")))))));
1359 hasType(references(recordDecl(hasName("X")))));
1407 methodDecl(hasParameter(0, hasType(recordDecl(hasName("X")))))));
1409 methodDecl(hasParameter(0, hasType(recordDecl(hasName("X")))))));
1412 hasType(pointsTo(recordDecl(hasName("X"))))))));
1415 hasType(references(recordDecl(hasName("X"))))))));
1420 methodDecl(hasAnyParameter(hasType(recordDecl(hasName("X")))))));
1422 methodDecl(hasAnyParameter(hasType(recordDecl(hasName("X")))))));
1432 recordDecl(hasName("Y")))))));
1444 methodDecl(hasAnyParameter(hasType(recordDecl(hasName("X")))))));
1450 recordDecl(hasName("X"))))))));
1734 forField(hasType(recordDecl(hasName("Baz"))))))));
1738 forField(hasType(recordDecl(hasName("Bar"))))))));
2113 recordDecl(hasName("a::b::C"))));
2115 recordDecl(hasName("::a::b::C"))));
2117 recordDecl(hasName("b::C"))));
2119 recordDecl(hasName("C"))));
2121 recordDecl(hasName("c::b::C"))));
2123 recordDecl(hasName("a::c::C"))));
2125 recordDecl(hasName("a::b::A"))));
2127 recordDecl(hasName("::C"))));
2129 recordDecl(hasName("::b::C"))));
2131 recordDecl(hasName("z::a::b::C"))));
2133 recordDecl(hasName("a+b::C"))));
2135 recordDecl(hasName("C"))));
2141 recordDecl(hasName("A::B::C"))));
2144 recordDecl(hasName("::A::B::C"))));
2147 recordDecl(hasName("B::C"))));
2150 recordDecl(hasName("C"))));
2153 recordDecl(hasName("c::B::C"))));
2156 recordDecl(hasName("A::c::C"))));
2159 recordDecl(hasName("A::B::A"))));
2162 recordDecl(hasName("::C"))));
2165 recordDecl(hasName("::B::C"))));
2167 recordDecl(hasName("z::A::B::C"))));
2170 recordDecl(hasName("A+B::C"))));
2175 recordDecl(hasName("A"), isDefinition());
2220 recordDecl(hasName("C"),
2257 DeclarationMatcher HasClassB = just(has(recordDecl(hasName("B")).bind("b")));
2281 polymorphicHas(recordDecl(hasName("B")).bind("b"));
2293 polymorphicHas(recordDecl(hasName("B")));
2484 memberExpr(hasObjectExpression(hasType(recordDecl(hasName("X")))))));
2490 memberExpr(hasObjectExpression(hasType(recordDecl(hasName("X")))))));
2494 hasType(pointsTo(recordDecl(hasName("X"))))))));
2502 hasType(pointsTo(recordDecl(hasName("S"))))))));
2506 hasType(pointsTo(recordDecl(hasName("S"))))))));
2870 initListExpr(hasType(recordDecl(hasName("B"))))));
3020 recordDecl(hasName("C"), forEach(fieldDecl(hasName("x")).bind("x"))),
3026 recordDecl(hasName("C"), forEach(fieldDecl().bind("f"))),
3033 recordDecl(hasName("C"),
3034 forEach(recordDecl(forEach(fieldDecl().bind("f"))))),
3040 recordDecl(hasName("C"),
3046 DeclarationMatcher m = recordDecl(
3050 recordDecl(hasName("A"), anyOf(m, forEachDescendant(m))),
3058 recordDecl(hasName("A"), allOf(hasDescendant(m), anyOf(m, anything()))),
3066 recordDecl(hasName("C"), forEachDescendant(fieldDecl().bind("f"))),
3074 recordDecl(hasName("C"), forEachDescendant(recordDecl(
3090 "class X { int a; };", recordDecl(decl().bind("x"), has(fieldDecl())),
3108 // recordDecl(decl().bind("x"), hasName("X")))
3116 recordDecl(
3117 recordDecl().bind("x"), hasName("::X"),
3118 anyOf(forEachDescendant(recordDecl(hasName("Y"))), anything())),
3121 "class X {};", recordDecl(recordDecl().bind("x"), hasName("::X"),
3132 recordDecl(decl().bind("x"), hasMethod(hasName("g"))),
3136 recordDecl(decl().bind("x"),
3161 recordDecl(decl().bind("x"), isDerivedFrom("::A")),
3166 recordDecl(decl().bind("x"), isDerivedFrom("C")),
3170 functionDecl(decl().bind("x"), hasAncestor(recordDecl(hasName("::A")))),
3177 ifStmt(stmt().bind("x"), hasAncestor(recordDecl(hasName("::A")))),
3181 recordDecl(hasName("::A"), decl().bind("x"), unless(hasName("fooble"))),
3193 recordDecl(hasName("C"), forEachDescendant(decl().bind("decl"))),
3197 recordDecl(hasName("C"), forEachDescendant(decl().bind("decl"))),
3204 recordDecl(hasName("::A"), findAll(recordDecl(hasName("::A")).bind("v"))),
3211 recordDecl(hasName("::A"), findAll(fieldDecl().bind("v"))),
3218 recordDecl(hasName("::A"),
3219 findAll(decl(anyOf(recordDecl(hasName("::A")).bind("v"),
3225 recordDecl(hasName("::A"), findAll(recordDecl(isDefinition()).bind("v"))),
3232 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
3240 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
3245 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
3250 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
3260 recordDecl(hasName("::X"), isTemplateInstantiation())));
3264 recordDecl(isTemplateInstantiation(), hasDescendant(
3265 fieldDecl(hasType(recordDecl(hasName("A"))))))));
3271 functionDecl(hasParameter(0, hasType(recordDecl(hasName("A")))),
3279 recordDecl(isTemplateInstantiation(), hasDescendant(
3280 fieldDecl(hasType(recordDecl(hasName("A"))))))));
3288 recordDecl(hasName("::X"), isTemplateInstantiation())));
3299 recordDecl(hasName("::X::Y"), isTemplateInstantiation())));
3312 recordDecl(hasName("::X<A>::Y"), unless(isTemplateInstantiation()))));
3319 recordDecl(hasName("::X"), isTemplateInstantiation())));
3325 recordDecl(isTemplateInstantiation())));
3332 recordDecl(isExplicitTemplateSpecialization())));
3343 recordDecl(isExplicitTemplateSpecialization())));
3354 recordDecl(isExplicitTemplateSpecialization())));
3365 recordDecl(isExplicitTemplateSpecialization())));
3375 recordDecl(hasName("C"), hasAncestor(recordDecl(hasName("A"))))));
3381 recordDecl(hasName("C"), hasAncestor(recordDecl(hasName("X"))))));
3387 varDecl(hasName("c"), hasType(recordDecl(hasName("C"),
3388 hasAncestor(recordDecl(hasName("A"))))))));
3406 fieldDecl(hasAncestor(recordDecl(hasAncestor(recordDecl().bind("r"))))),
3415 hasDescendant(recordDecl(isDefinition(),
3416 hasAncestor(recordDecl())))
3441 hasAncestor(recordDecl(hasName("A"))))));
3449 hasAncestor(recordDecl(hasName("A")))))))));
3470 allOf(hasAncestor(recordDecl(isTemplateInstantiation())),
3471 hasAncestor(recordDecl(unless(isTemplateInstantiation())))))));
3481 hasParent(recordDecl(isTemplateInstantiation())))))))));
3488 hasParent(recordDecl(unless(isTemplateInstantiation()))))))))));
3495 hasParent(recordDecl(isTemplateInstantiation())))),
3496 hasParent(functionDecl(hasParent(recordDecl(
3501 compoundStmt(hasParent(recordDecl()))));
3777 recordType(hasDeclaration(recordDecl(hasName("S"))))));
3779 recordType(hasDeclaration(recordDecl(hasName("S"))))));
3856 specifiesType(hasDeclaration(recordDecl(hasName("A")))));
4005 "class X { class Y {}; };", recordDecl(hasName("::X")).bind("X"),
4007 "X", decl(hasDescendant(recordDecl(hasName("X::Y")).bind("Y"))),
4010 "class X { class Y {}; };", recordDecl(hasName("::X")).bind("X"),
4012 "X", decl(hasDescendant(recordDecl(hasName("X::Z")).bind("Z"))),
4029 "class X { class Y {}; };", recordDecl(hasName("::X")).bind("X"),
4031 "X", recordDecl(has(recordDecl(hasName("X::Y")).bind("Y"))), "Y")));
4033 "class X { class Y {}; };", recordDecl(hasName("::X")).bind("X"),
4035 "X", recordDecl(has(recordDecl(hasName("X::Z")).bind("Z"))), "Z")));
4062 "class X { class Y {}; };", recordDecl(hasName("::X::Y")).bind(""),
4143 decl(allOf(recordDecl(hasName("::X::Y")).bind("record"),
4147 decl(allOf(recordDecl(hasName("::X")).bind("record"),
4154 recordDecl(
4160 recordDecl(