Home
last modified time | relevance | path

Searched refs:SwitchCase (Results 1 – 14 of 14) sorted by relevance

/external/clang/include/clang/AST/
DStmt.h530 class SwitchCase : public Stmt {
534 SwitchCase *NextSwitchCase;
536 SwitchCase(StmtClass SC) : Stmt(SC), NextSwitchCase(0) {} in SwitchCase() function
539 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() argument
559 class CaseStmt : public SwitchCase {
569 : SwitchCase(CaseStmtClass) { in CaseStmt()
[all …]
/external/clang/include/clang/Basic/
DStmtNodes.td26 def SwitchCase : Stmt<1>;
27 def CaseStmt : DStmt<SwitchCase>;
28 def DefaultStmt : DStmt<SwitchCase>;
/external/clang/include/clang/Serialization/
DASTWriter.h57 class SwitchCase; variable
263 std::map<SwitchCase *, unsigned> SwitchCaseIDs;
571 unsigned RecordSwitchCaseID(SwitchCase *S);
574 unsigned getSwitchCaseID(SwitchCase *S);
DASTReader.h67 class SwitchCase; variable
730 std::map<unsigned, SwitchCase *> SwitchCaseStmts;
1378 void RecordSwitchCaseID(SwitchCase *SC, unsigned ID);
1381 SwitchCase *getSwitchCaseWithID(unsigned ID);
/external/clang/lib/CodeGen/
DCGStmt.cpp962 const SwitchCase *Case, in CollectStatementsForCase()
971 if (const SwitchCase *SC = dyn_cast<SwitchCase>(S)) { in CollectStatementsForCase()
1093 const SwitchCase *Case = S.getSwitchCaseList(); in FindCaseStatementsForValue()
DCodeGenFunction.cpp432 if (isa<SwitchCase>(S) && !IgnoreCaseStmts) in ContainsLabel()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp77 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()
DASTReaderStmt.cpp109 void ASTStmtReader::VisitSwitchCase(SwitchCase *S) { in VisitSwitchCase()
161 SwitchCase *PrevSC = 0; in VisitSwitchStmt()
163 SwitchCase *SC = Reader.getSwitchCaseWithID(Record[Idx]); in VisitSwitchStmt()
DASTReader.cpp5190 void ASTReader::RecordSwitchCaseID(SwitchCase *SC, unsigned ID) { in RecordSwitchCaseID()
5196 SwitchCase *ASTReader::getSwitchCaseWithID(unsigned ID) { in getSwitchCaseWithID()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp492 for (SwitchCase *SC = SS->getSwitchCaseList(); SC; in VerifyJumps()
DSemaStmt.cpp547 for (SwitchCase *SC = SS->getSwitchCaseList(); SC && !HasDependentValue; in ActOnFinishSwitchStmt()
DSemaCodeComplete.cpp3430 for (SwitchCase *SC = Switch->getSwitchCaseList(); SC; in CodeCompleteCase()
/external/clang/lib/AST/
DStmt.cpp681 Stmt *SwitchCase::getSubStmt() { in getSubStmt()
DStmtProfile.cpp91 void StmtProfiler::VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase()