| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | TransProtectedScope.cpp | 42 SwitchCase *SC; 51 CaseInfo(SwitchCase *S, SourceRange Range) in CaseInfo() 64 SwitchCase *Curr = S->getSwitchCaseList(); in VisitSwitchStmt() 88 Stmt *getCaseParent(SwitchCase *S) { in getCaseParent() 90 while (Parent && (isa<SwitchCase>(Parent) || isa<LabelStmt>(Parent))) in getCaseParent()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | VarBypassDetector.cpp | 118 if (const SwitchCase *SC = dyn_cast<SwitchCase>(SubStmt)) in BuildScopeInformation() 145 for (const SwitchCase *SC = SS->getSwitchCaseList(); SC; in Detect()
|
| H A D | CGStmt.cpp | 1346 const SwitchCase *Case, in CollectStatementsForCase() 1355 if (const SwitchCase *SC = dyn_cast<SwitchCase>(S)) { in CollectStatementsForCase() 1504 const SwitchCase *&ResultCase) { in FindCaseStatementsForValue() 1507 const SwitchCase *Case = S.getSwitchCaseList(); in FindCaseStatementsForValue() 1564 const SwitchCase *Case = nullptr; in EmitSwitchStmt() 1619 for (const SwitchCase *Case = S.getSwitchCaseList(); in EmitSwitchStmt()
|
| H A D | CodeGenPGO.cpp | 618 void VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()
|
| H A D | CoverageMappingGen.cpp | 1149 void VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()
|
| H A D | CodeGenFunction.cpp | 1430 if (isa<SwitchCase>(S) && !IgnoreCaseStmts) in ContainsLabel()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Stmt.h | 267 friend class SwitchCase; in alignas() local 1349 class SwitchCase : public Stmt { 1359 SwitchCase *NextSwitchCase = nullptr; 1395 : public SwitchCase, 1447 : SwitchCase(CaseStmtClass, Empty) { in CaseStmt() 1544 class DefaultStmt : public SwitchCase { 1553 : SwitchCase(DefaultStmtClass, Empty) {} in DefaultStmt() 1575 SourceLocation SwitchCase::getEndLoc() const { in getEndLoc() 1583 Stmt *SwitchCase::getSubStmt() { in getSubStmt() 1891 SwitchCase *FirstCase; [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 27 def SwitchCase : Stmt<1>; 28 def CaseStmt : DStmt<SwitchCase>; 29 def DefaultStmt : DStmt<SwitchCase>;
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/ |
| H A D | ASTWriter.h | 93 class SwitchCase; variable 430 llvm::DenseMap<SwitchCase *, unsigned> SwitchCaseIDs; 669 unsigned RecordSwitchCaseID(SwitchCase *S); 672 unsigned getSwitchCaseID(SwitchCase *S);
|
| H A D | ASTReader.h | 113 class SwitchCase; variable 946 using SwitchCaseMapTy = llvm::DenseMap<unsigned, SwitchCase *>; 2332 void RecordSwitchCaseID(SwitchCase *SC, unsigned ID); 2335 SwitchCase *getSwitchCaseWithID(unsigned ID); 2652 void recordSwitchCaseID(SwitchCase *SC, unsigned ID) { in recordSwitchCaseID() 2657 SwitchCase *getSwitchCaseWithID(unsigned ID) { in getSwitchCaseWithID()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | AnalysisBasedWarnings.cpp | 1047 if (L && isa<SwitchCase>(L) && ReachableBlocks.insert(B).second) in fillReachableBlocks() 1080 const SwitchCase *SW = dyn_cast_or_null<SwitchCase>(P->getLabel()); in checkFallThroughIntoBlock() 1185 if (const SwitchCase *SW = dyn_cast_or_null<SwitchCase>(B.getLabel())) in getLastStmt() 1186 if (!isa<SwitchCase>(SW->getSubStmt())) in getLastStmt() 1259 if (!Label || !isa<SwitchCase>(Label)) in DiagnoseSwitchLabelsFallthrough()
|
| H A D | JumpDiagnostics.cpp | 570 if (SwitchCase *SC = dyn_cast<SwitchCase>(SubStmt)) in BuildScopeInformation() 616 for (SwitchCase *SC = SS->getSwitchCaseList(); SC; in VerifyJumps()
|
| H A D | SemaStmtAttr.cpp | 32 if (isa<SwitchCase>(St)) { in handleFallThroughAttr()
|
| H A D | SemaStmt.cpp | 883 for (SwitchCase *SC = SS->getSwitchCaseList(); SC && !HasDependentValue; in ActOnFinishSwitchStmt()
|
| H A D | SemaCodeComplete.cpp | 4503 for (SwitchCase *SC = Switch->getSwitchCaseList(); SC; in CodeCompleteCase()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2008 extern const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchCase> switchCase; 5946 AST_MATCHER_P(SwitchStmt, forEachSwitchCase, internal::Matcher<SwitchCase>, in AST_MATCHER_P() argument 5954 for (const SwitchCase *SC = Node.getSwitchCaseList(); SC; in AST_MATCHER_P()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 90 void ASTStmtWriter::VisitSwitchCase(SwitchCase *S) { in VisitSwitchCase() 178 for (SwitchCase *SC = S->getSwitchCaseList(); SC; in VisitSwitchStmt() 2271 unsigned ASTWriter::RecordSwitchCaseID(SwitchCase *S) { in RecordSwitchCaseID() 2279 unsigned ASTWriter::getSwitchCaseID(SwitchCase *S) { in getSwitchCaseID()
|
| H A D | ASTReaderStmt.cpp | 171 void ASTStmtReader::VisitSwitchCase(SwitchCase *S) { in VisitSwitchCase() 259 SwitchCase *PrevSC = nullptr; in VisitSwitchStmt() 261 SwitchCase *SC = Record.getSwitchCaseWithID(Record.readInt()); in VisitSwitchStmt()
|
| H A D | ASTReader.cpp | 9132 void ASTReader::RecordSwitchCaseID(SwitchCase *SC, unsigned ID) { in RecordSwitchCaseID() 9139 SwitchCase *ASTReader::getSwitchCaseWithID(unsigned ID) { in getSwitchCaseWithID()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | UninitializedValues.cpp | 672 if (!Label || !isa<SwitchCase>(Label)) in getUninitUse()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 707 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchCase> switchCase;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Stmt.cpp | 174 else if (const auto *SC = dyn_cast<SwitchCase>(S)) in stripLabelLikeStatements()
|
| H A D | ExprConstant.cpp | 3935 const SwitchCase *SC = nullptr); 3940 const SwitchCase *Case = nullptr) { in EvaluateLoopBody() 3979 const SwitchCase *Found = nullptr; in EvaluateSwitch() 3980 for (const SwitchCase *SC = SS->getSwitchCaseList(); SC; in EvaluateSwitch() 4021 const Stmt *S, const SwitchCase *Case) { in EvaluateStmt() 4308 return EvaluateStmt(Result, Info, cast<SwitchCase>(S)->getSubStmt(), Case); in EvaluateStmt()
|
| H A D | ASTImporter.cpp | 5756 SwitchCase *LastChainedSwitchCase = nullptr; in VisitSwitchStmt() 5757 for (SwitchCase *SC = S->getSwitchCaseList(); SC != nullptr; in VisitSwitchStmt() 5759 Expected<SwitchCase *> ToSCOrErr = import(SC); in VisitSwitchStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporter.cpp | 3063 if (P && (isa<SwitchCase>(P) || isa<LabelStmt>(P))) in findExecutedLines()
|