Home
last modified time | relevance | path

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

/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp978 switchStmt(hasCondition(integerLiteral(equals(42)))); in TEST()
1300 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()
1302 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()
1304 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()
1307 ifStmt(has(switchStmt(forEachSwitchCase(defaultStmt())))))); in TEST()
1309 switchStmt(forEachSwitchCase( in TEST()
1312 switchStmt(forEachSwitchCase( in TEST()
1315 switchStmt(forEachSwitchCase( in TEST()
1319 switchStmt(forEachSwitchCase(caseStmt().bind("x"))), in TEST()
DASTMatchersNodeTest.cpp1059 EXPECT_TRUE(matches("void x() { switch(42) { case 42:; } }", switchStmt())); in TEST()
1060 EXPECT_TRUE(matches("void x() { switch(42) { default:; } }", switchStmt())); in TEST()
1061 EXPECT_TRUE(matches("void x() { switch(42) default:; }", switchStmt())); in TEST()
1062 EXPECT_TRUE(notMatches("void x() {}", switchStmt())); in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp392 REGISTER_MATCHER(switchStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1555 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchStmt> switchStmt; variable