Lines Matching refs:forStmt
2573 EXPECT_TRUE(matches("void f() { for(;;); }", forStmt())); in TEST()
2574 EXPECT_TRUE(matches("void f() { if(true) for(;;); }", forStmt())); in TEST()
2577 forStmt())); in TEST()
2582 forStmt(hasCondition(anything())))); in TEST()
2584 forStmt(hasLoopInit(anything())))); in TEST()
2597 forStmt(hasCondition(expr())))); in TEST()
2599 forStmt(hasLoopInit(anything())))); in TEST()
2603 EXPECT_TRUE(notMatches("void f() { ; }", forStmt())); in TEST()
2604 EXPECT_TRUE(notMatches("void f() { if(true); }", forStmt())); in TEST()
2624 forStmt(hasBody(compoundStmt())))); in TEST()
2626 forStmt(hasBody(compoundStmt())))); in TEST()
2640 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
2646 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
2651 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
2656 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
4412 "if", stmt(hasDescendant(forStmt().bind("for"))), "for"))); in TEST()