Home
last modified time | relevance | path

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

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp2573 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()
[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.cpp163 REGISTER_MATCHER(forStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1127 const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt; variable