Home
last modified time | relevance | path

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

/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp968 forStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()
985 forStmt(hasCondition(anything())))); in TEST()
987 forStmt(hasLoopInit(anything())))); in TEST()
1000 forStmt(hasCondition(expr())))); in TEST()
1002 forStmt(hasLoopInit(anything())))); in TEST()
1007 forStmt(hasBody(compoundStmt())))); in TEST()
1009 forStmt(hasBody(compoundStmt())))); in TEST()
1027 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
1033 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
1038 compoundStmt(hasAnySubstatement(forStmt())))); in TEST()
[all …]
DASTMatchersNodeTest.cpp831 EXPECT_TRUE(matches("void f() { for(;;); }", forStmt())); in TEST()
832 EXPECT_TRUE(matches("void f() { if(true) for(;;); }", forStmt())); in TEST()
835 forStmt())); in TEST()
839 EXPECT_TRUE(notMatches("void f() { ; }", forStmt())); in TEST()
840 EXPECT_TRUE(notMatches("void f() { if(true); }", forStmt())); in TEST()
DASTMatchersNarrowingTest.cpp277 forEach(fieldDecl(hasAncestor(forStmt())))); in TEST()
/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/lib/ASTMatchers/Dynamic/
DRegistry.cpp189 REGISTER_MATCHER(forStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1393 const internal::VariadicDynCastAllOfMatcher<Stmt, ForStmt> forStmt; variable