|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 2001 extern const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchStmt> switchStmt;
References
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp 490 REGISTER_MATCHER(switchStmt);
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 556 stmt(anyOf(ifStmt(), switchStmt(), conditionalOperator(), AssertLikeM,
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp 129 anyOf(gotoStmt(), switchStmt(), returnStmt(),
tools/clang/tools/extra/clang-tidy/bugprone/BranchCloneCheck.cpp 66 Finder->addMatcher(switchStmt().bind("switch"), this);
tools/clang/tools/extra/clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp 27 switchStmt(
tools/clang/unittests/AST/ASTImporterTest.cpp 618 switchStmt(has(compoundStmt(has(caseStmt())))))));
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp 1155 EXPECT_TRUE(matches("void x() { switch(42) { case 42:; } }", switchStmt()));
1156 EXPECT_TRUE(matches("void x() { switch(42) { default:; } }", switchStmt()));
1157 EXPECT_TRUE(matches("void x() { switch(42) default:; }", switchStmt()));
1158 EXPECT_TRUE(notMatches("void x() {}", switchStmt()));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp 1351 switchStmt(hasCondition(integerLiteral(equals(42))));
1797 switchStmt(forEachSwitchCase(caseStmt()))));
1799 switchStmt(forEachSwitchCase(caseStmt()))));
1801 switchStmt(forEachSwitchCase(caseStmt()))));
1804 ifStmt(has(switchStmt(forEachSwitchCase(defaultStmt()))))));
1806 switchStmt(forEachSwitchCase(
1810 switchStmt(forEachSwitchCase(
1814 switchStmt(forEachSwitchCase(
1819 switchStmt(forEachSwitchCase(caseStmt().bind("x"))),