Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:has

52   DeclarationMatcher HasClassX = recordDecl(has(recordDecl(hasName("X"))));
57 recordDecl(hasName("Y"), has(recordDecl(hasName("X"))));
67 has(recordDecl(
68 has(recordDecl(hasName("X"))),
69 has(recordDecl(hasName("Y"))),
71 has(recordDecl(
72 has(recordDecl(hasName("A"))),
73 has(recordDecl(hasName("B"))),
126 has(recordDecl(
128 has(recordDecl(
130 has(recordDecl(
133 has(recordDecl(
136 has(recordDecl(
138 has(recordDecl(
169 has(recordDecl(hasName("Z"))),
171 has(recordDecl(hasName("Y")))));
209 hasDescendant(recordDecl(has(recordDecl(hasName("Y"))),
253 decl(hasDescendant(typeLoc().bind("x")), has(decl()));
547 DeclarationMatcher ClassX = has(recordDecl(hasName("::X")).bind("x"));
556 recordDecl(hasName("A"), has(recordDecl(hasName("B")).bind("b"))));
1533 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
1534 has(fieldDecl(hasName("b")).bind("v")))),
1541 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
1542 has(fieldDecl(hasName("b")).bind("v")))),
1546 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
1547 has(fieldDecl(hasName("b")).bind("v")))),
1551 recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
1552 has(fieldDecl(hasName("b")).bind("v"))))));
1826 hasParent(stmt(has(stmt(equalsBoundNode("if")))))))));
1830 stmt(allOf(ifStmt().bind("if"), has(stmt(equalsBoundNode("if")))))));
1837 hasParent(decl(has(decl(equalsBoundNode("record")))))))));
1841 has(decl(equalsBoundNode("record")))))));
1848 has(fieldDecl(hasName("a"), hasType(type().bind("t")))),
1849 has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t"))))))));
1854 has(fieldDecl(hasName("a"), hasType(type().bind("t")))),
1855 has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t"))))))));