Home
last modified time | relevance | path

Searched refs:forStmt (Results 1 – 4 of 4) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp2413 EXPECT_TRUE(matches("void f() { for(;;); }", forStmt())); in TEST()
2414 EXPECT_TRUE(matches("void f() { if(true) for(;;); }", forStmt())); in TEST()
2417 forStmt())); in TEST()
2422 forStmt(hasCondition(anything())))); in TEST()
2424 forStmt(hasLoopInit(anything())))); in TEST()
2437 forStmt(hasCondition(expr())))); in TEST()
2439 forStmt(hasLoopInit(anything())))); in TEST()
2443 EXPECT_TRUE(notMatches("void f() { ; }", forStmt())); in TEST()
2444 EXPECT_TRUE(notMatches("void f() { if(true); }", forStmt())); in TEST()
2464 forStmt(hasBody(compoundStmt())))); in TEST()
[all …]
/external/clang/docs/
DLibASTMatchersTutorial.rst229 forStmt()
236 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl()))))
243 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
259 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
278 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
481 forStmt(hasLoopInit(declStmt(
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp161 REGISTER_MATCHER(forStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h899 const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt; variable