Home
last modified time | relevance | path

Searched refs:switchStmt (Results 1 – 3 of 3) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp3510 EXPECT_TRUE(matches("void x() { switch(42) { case 42:; } }", switchStmt())); in TEST()
3511 EXPECT_TRUE(matches("void x() { switch(42) { default:; } }", switchStmt())); in TEST()
3512 EXPECT_TRUE(matches("void x() { switch(42) default:; }", switchStmt())); in TEST()
3513 EXPECT_TRUE(notMatches("void x() {}", switchStmt())); in TEST()
3518 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()
3520 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()
3522 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()
3525 ifStmt(has(switchStmt(forEachSwitchCase(defaultStmt())))))); in TEST()
3527 switchStmt(forEachSwitchCase( in TEST()
3530 switchStmt(forEachSwitchCase( in TEST()
[all …]
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp353 REGISTER_MATCHER(switchStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1368 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchStmt> switchStmt; variable