Searched refs:SwitchCase (Results 1 – 14 of 14) sorted by relevance
530 class SwitchCase : public Stmt {534 SwitchCase *NextSwitchCase;536 SwitchCase(StmtClass SC) : Stmt(SC), NextSwitchCase(0) {} in SwitchCase() function539 const SwitchCase *getNextSwitchCase() const { return NextSwitchCase; } in getNextSwitchCase()541 SwitchCase *getNextSwitchCase() { return NextSwitchCase; } in getNextSwitchCase()543 void setNextSwitchCase(SwitchCase *SC) { NextSwitchCase = SC; } in setNextSwitchCase()547 return const_cast<SwitchCase*>(this)->getSubStmt(); in getSubStmt()556 static bool classof(const SwitchCase *) { return true; } in classof() argument559 class CaseStmt : public SwitchCase {569 : SwitchCase(CaseStmtClass) { in CaseStmt()[all …]
26 def SwitchCase : Stmt<1>;27 def CaseStmt : DStmt<SwitchCase>;28 def DefaultStmt : DStmt<SwitchCase>;
57 class SwitchCase; variable263 std::map<SwitchCase *, unsigned> SwitchCaseIDs;571 unsigned RecordSwitchCaseID(SwitchCase *S);574 unsigned getSwitchCaseID(SwitchCase *S);
67 class SwitchCase; variable730 std::map<unsigned, SwitchCase *> SwitchCaseStmts;1378 void RecordSwitchCaseID(SwitchCase *SC, unsigned ID);1381 SwitchCase *getSwitchCaseWithID(unsigned ID);
962 const SwitchCase *Case, in CollectStatementsForCase()971 if (const SwitchCase *SC = dyn_cast<SwitchCase>(S)) { in CollectStatementsForCase()1093 const SwitchCase *Case = S.getSwitchCaseList(); in FindCaseStatementsForValue()
432 if (isa<SwitchCase>(S) && !IgnoreCaseStmts) in ContainsLabel()
77 void ASTStmtWriter::VisitSwitchCase(SwitchCase *S) { in VisitSwitchCase()127 for (SwitchCase *SC = S->getSwitchCaseList(); SC; in VisitSwitchStmt()1394 unsigned ASTWriter::RecordSwitchCaseID(SwitchCase *S) { in RecordSwitchCaseID()1402 unsigned ASTWriter::getSwitchCaseID(SwitchCase *S) { in getSwitchCaseID()
109 void ASTStmtReader::VisitSwitchCase(SwitchCase *S) { in VisitSwitchCase()161 SwitchCase *PrevSC = 0; in VisitSwitchStmt()163 SwitchCase *SC = Reader.getSwitchCaseWithID(Record[Idx]); in VisitSwitchStmt()
5190 void ASTReader::RecordSwitchCaseID(SwitchCase *SC, unsigned ID) { in RecordSwitchCaseID()5196 SwitchCase *ASTReader::getSwitchCaseWithID(unsigned ID) { in getSwitchCaseWithID()
492 for (SwitchCase *SC = SS->getSwitchCaseList(); SC; in VerifyJumps()
547 for (SwitchCase *SC = SS->getSwitchCaseList(); SC && !HasDependentValue; in ActOnFinishSwitchStmt()
3430 for (SwitchCase *SC = Switch->getSwitchCaseList(); SC; in CodeCompleteCase()
681 Stmt *SwitchCase::getSubStmt() { in getSubStmt()
91 void StmtProfiler::VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()