Searched refs:switchStmt (Results 1 – 4 of 4) sorted by relevance
978 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()
1059 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()
392 REGISTER_MATCHER(switchStmt); in RegistryMaps()
1555 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchStmt> switchStmt; variable