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

/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp3089 EXPECT_TRUE(matches("void x() { switch(42) { case 42:; } }", switchStmt()));
3090 EXPECT_TRUE(matches("void x() { switch(42) { default:; } }", switchStmt()));
3091 EXPECT_TRUE(matches("void x() { switch(42) default:; }", switchStmt()));
3092 EXPECT_TRUE(notMatches("void x() {}", switchStmt()));
3097 switchStmt(forEachSwitchCase(caseStmt()))));
3099 switchStmt(forEachSwitchCase(caseStmt()))));
3101 switchStmt(forEachSwitchCase(caseStmt()))));
3104 ifStmt(has(switchStmt(forEachSwitchCase(defaultStmt()))))));
3106 switchStmt(forEachSwitchCase(
3109 switchStmt(forEachSwitchCas
[all...]
/external/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp292 REGISTER_MATCHER(switchStmt);
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1045 /// switchStmt()
1047 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchStmt> switchStmt; member in namespace:clang::ast_matchers
3569 /// switchStmt(forEachSwitchCase(caseStmt().bind("c"))).bind("s")

Completed in 73 milliseconds