Searched refs:compoundStmt (Results 1 - 9 of 9) sorted by relevance

/external/clang/unittests/AST/
H A DASTImporterTest.cpp110 compoundStmt(
119 compoundStmt(
128 compoundStmt(
141 compoundStmt(
153 compoundStmt(
165 compoundStmt(
174 compoundStmt(
191 compoundStmt(
215 compoundStmt(
227 functionDecl(hasBody(compoundStmt(ha
[all...]
H A DASTContextParentMapTest.cpp34 ifStmt(hasParent(compoundStmt()))));
76 compoundStmt(allOf(
H A DStmtPrinterTest.cpp119 has(compoundStmt(has(stmt().bind("id"))))),
145 has(compoundStmt(has(stmt().bind("id"))))),
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp1007 forStmt(hasBody(compoundStmt()))));
1009 forStmt(hasBody(compoundStmt()))));
1011 whileStmt(hasBody(compoundStmt()))));
1013 doStmt(hasBody(compoundStmt()))));
1015 cxxForRangeStmt(hasBody(compoundStmt()))));
1016 EXPECT_TRUE(matches("void f() {}", functionDecl(hasBody(compoundStmt()))));
1017 EXPECT_TRUE(notMatches("void f();", functionDecl(hasBody(compoundStmt()))));
1019 functionDecl(hasBody(compoundStmt()))));
1027 compoundStmt(hasAnySubstatement(forStmt()))));
1033 compoundStmt(hasAnySubstatemen
[all...]
H A DASTMatchersNarrowingTest.cpp1322 compoundStmt(statementCountIs(0))));
1324 compoundStmt(statementCountIs(1))));
1329 compoundStmt(statementCountIs(1))));
1331 compoundStmt(statementCountIs(0))));
1333 compoundStmt(statementCountIs(2))));
1338 compoundStmt(statementCountIs(3))));
1343 compoundStmt(statementCountIs(1))));
1345 compoundStmt(statementCountIs(2))));
1347 compoundStmt(statementCountIs(3))));
1349 compoundStmt(statementCountI
[all...]
H A DASTMatchersNodeTest.cpp844 EXPECT_TRUE(notMatches("void f();", compoundStmt()));
845 EXPECT_TRUE(matches("void f() {}", compoundStmt()));
846 EXPECT_TRUE(matches("void f() {{}}", compoundStmt()));
853 compoundStmt()));
855 compoundStmt()));
/external/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp125 REGISTER_MATCHER(compoundStmt);
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1593 const internal::VariadicDynCastAllOfMatcher<Stmt, CompoundStmt> compoundStmt; member in namespace:clang::ast_matchers
2360 /// \c compoundStmt(hasParent(ifStmt())) matches "{ int x = 43; }".
3457 /// compoundStmt(
3534 /// hasBody(compoundStmt())
3536 /// with compoundStmt()
3556 /// hasAnySubstatement(compoundStmt())
3558 /// with compoundStmt()
3576 /// compoundStmt(statementCountIs(0)))
/external/clang/tools/libclang/
H A DCIndex.cpp3670 const CompoundStmt *compoundStmt = dyn_cast_or_null<CompoundStmt>(getCursorStmt(C)); local
3671 if (compoundStmt) {
3673 for (auto *bodyIterator : compoundStmt->body()) {

Completed in 320 milliseconds