Lines Matching refs:recordDecl
25 DeclarationMatcher HasEmptyName = recordDecl(hasName("")); in TEST()
32 DeclarationMatcher HasEmptyName = recordDecl(matchesName("")); in TEST()
108 DeclarationMatcher ClassMatcher(recordDecl()); in TEST()
117 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X"))); in TEST()
261 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST()
268 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A")))))); in TEST()
329 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("X")).bind("test"))))); in TEST()
352 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl())))); in TEST()
362 recordDecl(hasDeclContext(namespaceDecl(hasName("M")))))); in TEST()
369 recordDecl(hasDeclContext(namespaceDecl(hasName("N")))))); in TEST()
376 recordDecl(hasDeclContext(namespaceDecl( in TEST()
440 recordDecl(hasName("T"))))))))); in TEST()
445 recordDecl(hasName("T"))))), in TEST()
451 recordDecl(hasName("T"))))), in TEST()
476 recordDecl(anyOf(hasName("X"), hasName("Y"), hasName("Z"), hasName("U"))); in TEST()
481 recordDecl(anyOf(hasName("X"), hasName("Y"), hasName("Z"), hasName("U"), in TEST()
501 DeclarationMatcher HasClassX = recordDecl(has(recordDecl(hasName("X")))); in TEST()
506 recordDecl(hasName("Y"), has(recordDecl(hasName("X")))); in TEST()
515 recordDecl( in TEST()
516 has(recordDecl( in TEST()
517 has(recordDecl(hasName("X"))), in TEST()
518 has(recordDecl(hasName("Y"))), in TEST()
520 has(recordDecl( in TEST()
521 has(recordDecl(hasName("A"))), in TEST()
522 has(recordDecl(hasName("B"))), in TEST()
573 recordDecl( in TEST()
575 has(recordDecl( in TEST()
577 has(recordDecl( in TEST()
579 has(recordDecl( in TEST()
582 has(recordDecl( in TEST()
585 has(recordDecl( in TEST()
587 has(recordDecl( in TEST()
616 recordDecl( in TEST()
618 has(recordDecl(hasName("Z"))), in TEST()
620 has(recordDecl(hasName("Y"))))); in TEST()
626 namedDecl(hasName("Foo"), unless(recordDecl())); in TEST()
633 recordDecl( in TEST()
634 hasDescendant(recordDecl(hasName("X"))), in TEST()
648 recordDecl( in TEST()
649 hasDescendant(recordDecl(has(recordDecl(hasName("Y"))), in TEST()
671 recordDecl( in TEST()
672 hasDescendant(recordDecl(hasDescendant(recordDecl(hasName("Y"))), in TEST()
882 expr(hasType(pointsTo(recordDecl(hasName("X")))), in TEST()
893 expr(hasType(pointsTo(recordDecl(hasName("X")))), in TEST()
905 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A"))); in TEST()
918 recordDecl(hasName("A"), has(recordDecl(hasName("B"))))); in TEST()
976 DeclarationMatcher ClassX = has(recordDecl(hasName("::X")).bind("x")); in TEST()
985 recordDecl(hasName("A"), has(recordDecl(hasName("B")).bind("b")))); in TEST()
1019 DeclarationMatcher ClassX = recordDecl(hasName("X")).bind("x"); in TEST()
1023 recordDecl(hasName("A"), hasDescendant(ClassX)), in TEST()
1024 recordDecl(hasName("B"), hasDescendant(ClassX)))), in TEST()
1055 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()
1067 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()
1078 DeclarationMatcher ClassX = recordDecl(hasName("X")); in TEST()
1087 DeclarationMatcher ClassX = recordDecl(hasName("X")); in TEST()
1113 cxxMemberCallExpr(on(hasType(recordDecl(hasName("Y"))))); in TEST()
1132 cxxMemberCallExpr(on(hasType(pointsTo(recordDecl(hasName("Y")))))); in TEST()
1292 cxxMemberCallExpr(thisPointerType(recordDecl(hasName("Y")))); in TEST()
1324 cxxMemberCallExpr(thisPointerType(recordDecl(hasName("Y")))))))); in TEST()
1426 sizeOfExpr(hasArgumentOfType(hasDeclaration(recordDecl(hasName("A"))))))); in TEST()
1428 hasArgumentOfType(hasDeclaration(recordDecl(hasName("string"))))))); in TEST()
1629 hasType(references(recordDecl(hasName("X"))))); in TEST()
1682 cxxMethodDecl(hasParameter(0, hasType(recordDecl(hasName("X"))))))); in TEST()
1685 cxxMethodDecl(hasParameter(0, hasType(recordDecl(hasName("X"))))))); in TEST()
1688 0, hasType(pointsTo(recordDecl(hasName("X")))))))); in TEST()
1691 0, hasType(references(recordDecl(hasName("X")))))))); in TEST()
1697 cxxMethodDecl(hasAnyParameter(hasType(recordDecl(hasName("X"))))))); in TEST()
1700 cxxMethodDecl(hasAnyParameter(hasType(recordDecl(hasName("X"))))))); in TEST()
1710 recordDecl(hasName("Y"))))))); in TEST()
1746 cxxMethodDecl(hasAnyParameter(hasType(recordDecl(hasName("X"))))))); in TEST()
1752 hasType(pointsTo(recordDecl(hasName("X")))))))); in TEST()
2195 forField(hasType(recordDecl(hasName("Baz")))))))); in TEST()
2199 forField(hasType(recordDecl(hasName("Bar")))))))); in TEST()
2627 recordDecl(hasName("a::b::C")))); in TEST()
2629 recordDecl(hasName("::a::b::C")))); in TEST()
2631 recordDecl(hasName("b::C")))); in TEST()
2633 recordDecl(hasName("C")))); in TEST()
2635 recordDecl(hasName("c::b::C")))); in TEST()
2637 recordDecl(hasName("a::c::C")))); in TEST()
2639 recordDecl(hasName("a::b::A")))); in TEST()
2641 recordDecl(hasName("::C")))); in TEST()
2643 recordDecl(hasName("::b::C")))); in TEST()
2645 recordDecl(hasName("z::a::b::C")))); in TEST()
2647 recordDecl(hasName("a+b::C")))); in TEST()
2649 recordDecl(hasName("C")))); in TEST()
2655 recordDecl(hasName("A::B::C")))); in TEST()
2658 recordDecl(hasName("::A::B::C")))); in TEST()
2661 recordDecl(hasName("B::C")))); in TEST()
2664 recordDecl(hasName("C")))); in TEST()
2667 recordDecl(hasName("c::B::C")))); in TEST()
2670 recordDecl(hasName("A::c::C")))); in TEST()
2673 recordDecl(hasName("A::B::A")))); in TEST()
2676 recordDecl(hasName("::C")))); in TEST()
2679 recordDecl(hasName("::B::C")))); in TEST()
2681 recordDecl(hasName("z::A::B::C")))); in TEST()
2684 recordDecl(hasName("A+B::C")))); in TEST()
2689 recordDecl(hasName("A"), isDefinition()); in TEST()
2734 recordDecl(hasName("C"), hasDescendant(callExpr( in TEST()
2771 DeclarationMatcher HasClassB = just(has(recordDecl(hasName("B")).bind("b"))); in TEST()
2794 polymorphicHas(recordDecl(hasName("B")).bind("b")); in TEST()
2806 polymorphicHas(recordDecl(hasName("B"))); in TEST()
3007 memberExpr(hasObjectExpression(hasType(recordDecl(hasName("X"))))))); in TEST()
3013 memberExpr(hasObjectExpression(hasType(recordDecl(hasName("X"))))))); in TEST()
3017 hasType(pointsTo(recordDecl(hasName("X")))))))); in TEST()
3025 hasType(pointsTo(recordDecl(hasName("S")))))))); in TEST()
3029 hasType(pointsTo(recordDecl(hasName("S")))))))); in TEST()
3411 initListExpr(hasType(recordDecl(hasName("B")))))); in TEST()
3583 recordDecl(hasName("C"), forEach(fieldDecl(hasName("x")).bind("x"))), in TEST()
3589 recordDecl(hasName("C"), forEach(fieldDecl().bind("f"))), in TEST()
3596 recordDecl(hasName("C"), in TEST()
3597 forEach(recordDecl(forEach(fieldDecl().bind("f"))))), in TEST()
3603 recordDecl(hasName("C"), in TEST()
3609 DeclarationMatcher m = recordDecl( in TEST()
3613 recordDecl(hasName("A"), anyOf(m, forEachDescendant(m))), in TEST()
3621 recordDecl(hasName("A"), allOf(hasDescendant(m), anyOf(m, anything()))), in TEST()
3629 recordDecl(hasName("C"), forEachDescendant(fieldDecl().bind("f"))), in TEST()
3637 recordDecl(hasName("C"), forEachDescendant(recordDecl( in TEST()
3653 "class X { int a; };", recordDecl(decl().bind("x"), has(fieldDecl())), in TEST()
3679 recordDecl( in TEST()
3680 recordDecl().bind("x"), hasName("::X"), in TEST()
3681 anyOf(forEachDescendant(recordDecl(hasName("Y"))), anything())), in TEST()
3684 "class X {};", recordDecl(recordDecl().bind("x"), hasName("::X"), in TEST()
3699 recordDecl(decl().bind("x"), in TEST()
3733 functionDecl(decl().bind("x"), hasAncestor(recordDecl(hasName("::A")))), in TEST()
3740 ifStmt(stmt().bind("x"), hasAncestor(recordDecl(hasName("::A")))), in TEST()
3744 recordDecl(hasName("::A"), decl().bind("x"), unless(hasName("fooble"))), in TEST()
3756 recordDecl(hasName("C"), forEachDescendant(decl().bind("decl"))), in TEST()
3760 recordDecl(hasName("C"), forEachDescendant(decl().bind("decl"))), in TEST()
3767 recordDecl(hasName("::A"), findAll(recordDecl(hasName("::A")).bind("v"))), in TEST()
3774 recordDecl(hasName("::A"), findAll(fieldDecl().bind("v"))), in TEST()
3781 recordDecl(hasName("::A"), in TEST()
3782 findAll(decl(anyOf(recordDecl(hasName("::A")).bind("v"), in TEST()
3788 recordDecl(hasName("::A"), findAll(recordDecl(isDefinition()).bind("v"))), in TEST()
3795 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")), in TEST()
3803 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")), in TEST()
3808 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")), in TEST()
3813 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")), in TEST()
3828 fieldDecl(hasType(recordDecl(hasName("A")))))))); in TEST()
3834 functionDecl(hasParameter(0, hasType(recordDecl(hasName("A")))), in TEST()
3843 fieldDecl(hasType(recordDecl(hasName("A")))))))); in TEST()
3994 recordDecl(hasName("C"), hasAncestor(recordDecl(hasName("A")))))); in TEST()
4000 recordDecl(hasName("C"), hasAncestor(recordDecl(hasName("X")))))); in TEST()
4006 varDecl(hasName("c"), hasType(recordDecl(hasName("C"), in TEST()
4007 hasAncestor(recordDecl(hasName("A")))))))); in TEST()
4025 fieldDecl(hasAncestor(recordDecl(hasAncestor(recordDecl().bind("r"))))), in TEST()
4034 hasDescendant(recordDecl(isDefinition(), in TEST()
4035 hasAncestor(recordDecl()))) in TEST()
4060 hasAncestor(recordDecl(hasName("A")))))); in TEST()
4068 hasAncestor(recordDecl(hasName("A"))))))))); in TEST()
4121 compoundStmt(hasParent(recordDecl())))); in TEST()
4432 recordType(hasDeclaration(recordDecl(hasName("S")))))); in TEST()
4434 recordType(hasDeclaration(recordDecl(hasName("S")))))); in TEST()
4535 specifiesType(hasDeclaration(recordDecl(hasName("A"))))); in TEST()
4684 "class X { class Y {}; };", recordDecl(hasName("::X")).bind("X"), in TEST()
4686 "X", decl(hasDescendant(recordDecl(hasName("X::Y")).bind("Y"))), in TEST()
4689 "class X { class Y {}; };", recordDecl(hasName("::X")).bind("X"), in TEST()
4691 "X", decl(hasDescendant(recordDecl(hasName("X::Z")).bind("Z"))), in TEST()
4708 "class X { class Y {}; };", recordDecl(hasName("::X")).bind("X"), in TEST()
4710 "X", recordDecl(has(recordDecl(hasName("X::Y")).bind("Y"))), "Y"))); in TEST()
4712 "class X { class Y {}; };", recordDecl(hasName("::X")).bind("X"), in TEST()
4714 "X", recordDecl(has(recordDecl(hasName("X::Z")).bind("Z"))), "Z"))); in TEST()
4759 "class X { class Y {}; };", recordDecl(hasName("::X::Y")).bind(""), in TEST()
4873 decl(allOf(recordDecl(hasName("::X::Y")).bind("record"), in TEST()
4877 decl(allOf(recordDecl(hasName("::X")).bind("record"), in TEST()
4884 recordDecl( in TEST()
4890 recordDecl( in TEST()
4938 varDecl(hasType(recordDecl(hasName("StringRef")))).bind("var")))), in TEST()
4954 varDecl(hasType(recordDecl(hasName("StringRef")))).bind("var")))), in TEST()
4978 recordDecl(hasName("X"), isExpansionInMainFile()))); in TEST()
4979 EXPECT_TRUE(notMatches("", recordDecl(isExpansionInMainFile()))); in TEST()
4983 recordDecl(isExpansionInMainFile()), false, in TEST()
4991 "#include \"other\"\n", recordDecl(isExpansionInSystemHeader()), true, in TEST()
4994 recordDecl(isExpansionInSystemHeader()), in TEST()
4997 recordDecl(isExpansionInSystemHeader()))); in TEST()
4998 EXPECT_TRUE(notMatches("", recordDecl(isExpansionInSystemHeader()))); in TEST()
5009 recordDecl(isExpansionInFileMatching("b.*"), hasName("B")), true, in TEST()
5015 recordDecl(isExpansionInFileMatching("f.*"), hasName("X")), false, in TEST()