Lines Matching refs:recordDecl
35 recordDecl(hasName("T"))))))))); in TEST()
40 recordDecl(hasName("T"))))), in TEST()
46 recordDecl(hasName("T"))))), in TEST()
52 DeclarationMatcher HasClassX = recordDecl(has(recordDecl(hasName("X")))); in TEST()
57 recordDecl(hasName("Y"), has(recordDecl(hasName("X")))); in TEST()
66 recordDecl( in TEST()
67 has(recordDecl( in TEST()
68 has(recordDecl(hasName("X"))), in TEST()
69 has(recordDecl(hasName("Y"))), in TEST()
71 has(recordDecl( in TEST()
72 has(recordDecl(hasName("A"))), in TEST()
73 has(recordDecl(hasName("B"))), in TEST()
124 recordDecl( in TEST()
126 has(recordDecl( in TEST()
128 has(recordDecl( in TEST()
130 has(recordDecl( in TEST()
133 has(recordDecl( in TEST()
136 has(recordDecl( in TEST()
138 has(recordDecl( in TEST()
167 recordDecl( in TEST()
169 has(recordDecl(hasName("Z"))), in TEST()
171 has(recordDecl(hasName("Y"))))); in TEST()
177 namedDecl(hasName("Foo"), unless(recordDecl())); in TEST()
193 recordDecl( in TEST()
194 hasDescendant(recordDecl(hasName("X"))), in TEST()
208 recordDecl( in TEST()
209 hasDescendant(recordDecl(has(recordDecl(hasName("Y"))), in TEST()
231 recordDecl( in TEST()
232 hasDescendant(recordDecl(hasDescendant(recordDecl(hasName("Y"))), in TEST()
302 recordDecl(anyOf(hasName("X"), hasName("Y"), hasName("Z"), hasName("U"))); in TEST()
307 recordDecl(anyOf(hasName("X"), hasName("Y"), hasName("Z"), hasName("U"), in TEST()
463 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("Some")))))); in TEST()
470 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl(hasName("A")))))); in TEST()
531 cxxRecordDecl(isDerivedFrom(recordDecl(hasName("X")).bind("test"))))); in TEST()
547 DeclarationMatcher ClassX = has(recordDecl(hasName("::X")).bind("x")); in TEST()
556 recordDecl(hasName("A"), has(recordDecl(hasName("B")).bind("b")))); in TEST()
590 DeclarationMatcher ClassX = recordDecl(hasName("X")).bind("x"); in TEST()
594 recordDecl(hasName("A"), hasDescendant(ClassX)), in TEST()
595 recordDecl(hasName("B"), hasDescendant(ClassX)))), in TEST()
706 sizeOfExpr(hasArgumentOfType(hasDeclaration(recordDecl(hasName("A"))))))); in TEST()
708 hasArgumentOfType(hasDeclaration(recordDecl(hasName("string"))))))); in TEST()
812 hasType(references(recordDecl(hasName("X"))))); in TEST()
1155 recordDecl(hasName("a::b::C")))); in TEST()
1157 recordDecl(hasName("::a::b::C")))); in TEST()
1159 recordDecl(hasName("b::C")))); in TEST()
1161 recordDecl(hasName("C")))); in TEST()
1163 recordDecl(hasName("c::b::C")))); in TEST()
1165 recordDecl(hasName("a::c::C")))); in TEST()
1167 recordDecl(hasName("a::b::A")))); in TEST()
1169 recordDecl(hasName("::C")))); in TEST()
1171 recordDecl(hasName("::b::C")))); in TEST()
1173 recordDecl(hasName("z::a::b::C")))); in TEST()
1175 recordDecl(hasName("a+b::C")))); in TEST()
1177 recordDecl(hasName("C")))); in TEST()
1183 recordDecl(hasName("A::B::C")))); in TEST()
1186 recordDecl(hasName("::A::B::C")))); in TEST()
1189 recordDecl(hasName("B::C")))); in TEST()
1192 recordDecl(hasName("C")))); in TEST()
1195 recordDecl(hasName("c::B::C")))); in TEST()
1198 recordDecl(hasName("A::c::C")))); in TEST()
1201 recordDecl(hasName("A::B::A")))); in TEST()
1204 recordDecl(hasName("::C")))); in TEST()
1207 recordDecl(hasName("::B::C")))); in TEST()
1209 recordDecl(hasName("z::A::B::C")))); in TEST()
1212 recordDecl(hasName("A+B::C")))); in TEST()
1217 EXPECT_TRUE(matches(code, recordDecl(hasName("a::b::C")))); in TEST()
1218 EXPECT_TRUE(matches(code, recordDecl(hasName("a::C")))); in TEST()
1219 EXPECT_TRUE(matches(code, recordDecl(hasName("::a::b::C")))); in TEST()
1220 EXPECT_TRUE(matches(code, recordDecl(hasName("::a::C")))); in TEST()
1226 matches(code, recordDecl(hasName("a::(anonymous namespace)::C")))); in TEST()
1227 EXPECT_TRUE(matches(code, recordDecl(hasName("a::C")))); in TEST()
1229 matches(code, recordDecl(hasName("::a::(anonymous namespace)::C")))); in TEST()
1230 EXPECT_TRUE(matches(code, recordDecl(hasName("::a::C")))); in TEST()
1235 recordDecl(hasName("A::(anonymous class)::C")))); in TEST()
1237 recordDecl(hasName("::A::(anonymous class)::C")))); in TEST()
1239 recordDecl(hasName("::A::C")))); in TEST()
1241 recordDecl(hasName("A::(anonymous struct)::C")))); in TEST()
1243 recordDecl(hasName("::A::(anonymous struct)::C")))); in TEST()
1245 recordDecl(hasName("::A::C")))); in TEST()
1264 EXPECT_TRUE(matches(Code, recordDecl(hasAnyName("XX", "a::b::C")))); in TEST()
1265 EXPECT_TRUE(matches(Code, recordDecl(hasAnyName("a::b::C", "XX")))); in TEST()
1266 EXPECT_TRUE(matches(Code, recordDecl(hasAnyName("XX::C", "a::b::C")))); in TEST()
1267 EXPECT_TRUE(matches(Code, recordDecl(hasAnyName("XX", "C")))); in TEST()
1269 EXPECT_TRUE(notMatches(Code, recordDecl(hasAnyName("::C", "::b::C")))); in TEST()
1271 matches(Code, recordDecl(hasAnyName("::C", "::b::C", "::a::b::C")))); in TEST()
1274 EXPECT_TRUE(matches(Code, recordDecl(hasAnyName(Names)))); in TEST()
1279 recordDecl(hasName("A"), isDefinition()); in TEST()
1451 memberExpr(hasObjectExpression(hasType(recordDecl(hasName("X"))))))); in TEST()
1457 memberExpr(hasObjectExpression(hasType(recordDecl(hasName("X"))))))); in TEST()
1461 hasType(pointsTo(recordDecl(hasName("X")))))))); in TEST()
1469 hasType(pointsTo(recordDecl(hasName("S")))))))); in TEST()
1473 hasType(pointsTo(recordDecl(hasName("S")))))))); in TEST()
1533 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")), in TEST()
1541 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")), in TEST()
1546 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")), in TEST()
1551 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")), in TEST()
1566 fieldDecl(hasType(recordDecl(hasName("A")))))))); in TEST()
1572 functionDecl(hasParameter(0, hasType(recordDecl(hasName("A")))), in TEST()
1581 fieldDecl(hasType(recordDecl(hasName("A")))))))); in TEST()
1836 decl(allOf(recordDecl(hasName("::X::Y")).bind("record"), in TEST()
1840 decl(allOf(recordDecl(hasName("::X")).bind("record"), in TEST()
1847 recordDecl( in TEST()
1853 recordDecl( in TEST()
1901 varDecl(hasType(recordDecl(hasName("StringRef")))).bind("var")))), in TEST()
1917 varDecl(hasType(recordDecl(hasName("StringRef")))).bind("var")))), in TEST()