Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:hasParent

1282                       cxxOperatorCallExpr(hasParent(cxxOperatorCallExpr()))));
4071 TEST(HasParent, MatchesOnlyParent) {
4074 compoundStmt(hasParent(ifStmt()))));
4077 compoundStmt(hasParent(ifStmt()))));
4080 compoundStmt(hasParent(ifStmt()))));
4094 TEST(HasParent, MatchesAllParents) {
4100 hasParent(compoundStmt(hasParent(functionDecl(
4101 hasParent(cxxRecordDecl(isTemplateInstantiation())))))))));
4107 hasParent(compoundStmt(hasParent(functionDecl(hasParent(
4113 hasParent(compoundStmt(
4114 allOf(hasParent(functionDecl(hasParent(
4116 hasParent(functionDecl(hasParent(cxxRecordDecl(
4121 compoundStmt(hasParent(recordDecl()))));
4124 TEST(HasParent, NoDuplicateParents) {
4732 "", match(stmt(hasParent(
4741 "", match(decl(hasParent(
4751 "", match(fieldDecl(hasParent(decl(has(fieldDecl(
4863 hasParent(stmt(has(stmt(equalsBoundNode("if")))))))));
4874 hasParent(decl(has(decl(equalsBoundNode("record")))))))));