Lines Matching refs:compoundStmt
1606 forStmt(hasBody(compoundStmt())))); in TEST()
1608 forStmt(hasBody(compoundStmt())))); in TEST()
1610 whileStmt(hasBody(compoundStmt())))); in TEST()
1612 doStmt(hasBody(compoundStmt())))); in TEST()
1614 cxxForRangeStmt(hasBody(compoundStmt())))); in TEST()
1618 EXPECT_TRUE(matches("void f() {}", functionDecl(hasBody(compoundStmt())))); in TEST()
1619 EXPECT_TRUE(notMatches("void f();", functionDecl(hasBody(compoundStmt())))); in TEST()
1622 functionDecl(hasBody(compoundStmt())).bind("func"), in TEST()
1626 cxxMethodDecl(hasBody(compoundStmt())).bind("met"), in TEST()
1630 cxxConstructorDecl(hasBody(compoundStmt())).bind("ctr"), in TEST()
1634 cxxDestructorDecl(hasBody(compoundStmt())).bind("dtr"), in TEST()
1639 EXPECT_TRUE(matches("void f() {}", functionDecl(hasAnyBody(compoundStmt())))); in TEST()
1641 functionDecl(hasAnyBody(compoundStmt())))); in TEST()
1644 functionDecl(hasAnyBody(compoundStmt())).bind("func"), in TEST()
1648 cxxMethodDecl(hasAnyBody(compoundStmt())).bind("met"), in TEST()
1652 cxxConstructorDecl(hasAnyBody(compoundStmt())).bind("ctr"), in TEST()
1656 cxxDestructorDecl(hasAnyBody(compoundStmt())).bind("dtr"), in TEST()
1665 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
1671 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
1676 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
1681 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
2448 auto MDef = cxxMethodDecl(MDecl, has(compoundStmt())); in TEST()
2453 auto MBody = cxxMethodDecl(MDecl, hasBody(compoundStmt())); in TEST()
3002 has(compoundStmt(hasDescendant(varDecl(hasName("e"))))), in TEST()
3449 compoundStmt(forEachDescendant(ifStmt().bind("if")), in TEST()
3530 has(compoundStmt(hasAnySubstatement(ifStmt())))), in TEST()
3691 compoundStmt(hasParent(ifStmt())))); in TEST()
3694 compoundStmt(hasParent(ifStmt())))); in TEST()
3697 compoundStmt(hasParent(ifStmt())))); in TEST()
3791 hasParent(compoundStmt(hasParent(functionDecl( in TEST()
3798 hasParent(compoundStmt(hasParent(functionDecl(hasParent( in TEST()
3804 hasParent(compoundStmt( in TEST()
3812 compoundStmt(hasParent(recordDecl())))); in TEST()