Home
last modified time | relevance | path

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

/external/clang/docs/
DLibASTMatchersTutorial.rst228 forStmt()
235 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl()))))
242 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
258 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
277 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
480 forStmt(hasLoopInit(declStmt(
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp2812 EXPECT_TRUE(matches("void f() { for(;;); }", forStmt())); in TEST()
2813 EXPECT_TRUE(matches("void f() { if(true) for(;;); }", forStmt())); in TEST()
2816 forStmt())); in TEST()
2821 forStmt(hasCondition(anything())))); in TEST()
2823 forStmt(hasLoopInit(anything())))); in TEST()
2836 forStmt(hasCondition(expr())))); in TEST()
2838 forStmt(hasLoopInit(anything())))); in TEST()
2842 EXPECT_TRUE(notMatches("void f() { ; }", forStmt())); in TEST()
2843 EXPECT_TRUE(notMatches("void f() { if(true); }", forStmt())); in TEST()
2863 forStmt(hasBody(compoundStmt())))); in TEST()
[all …]
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp180 REGISTER_MATCHER(forStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1218 const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt; variable