Home
last modified time | relevance | path

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

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