Searched refs:forStmt (Results 1 - 3 of 3) sorted by relevance

/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp2413 EXPECT_TRUE(matches("void f() { for(;;); }", forStmt()));
2414 EXPECT_TRUE(matches("void f() { if(true) for(;;); }", forStmt()));
2417 forStmt()));
2422 forStmt(hasCondition(anything()))));
2424 forStmt(hasLoopInit(anything()))));
2437 forStmt(hasCondition(expr()))));
2439 forStmt(hasLoopInit(anything()))));
2443 EXPECT_TRUE(notMatches("void f() { ; }", forStmt()));
2444 EXPECT_TRUE(notMatches("void f() { if(true); }", forStmt()));
2464 forStmt(hasBod
[all...]
/external/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp161 REGISTER_MATCHER(forStmt);
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h899 const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt; member in namespace:clang::ast_matchers
904 /// forStmt(hasIncrement(unaryOperator(hasOperatorName("++"))))
919 /// forStmt(hasLoopInit(declStmt()))
942 /// forStmt(hasLoopVariable(anything()))
956 /// forStmt(hasRangeInit(anything()))

Completed in 128 milliseconds