/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 308 if (VarDecl *Var = cast<SwitchStmt>(S)->getConditionVariable()) { in BuildScopeInformation() 549 SwitchStmt *SS = cast<SwitchStmt>(Jump); in VerifyJumps()
|
D | SemaStmt.cpp | 664 SwitchStmt *SS = new (Context) SwitchStmt(Context, ConditionVar, Cond); in ActOnStartOfSwitchStmt() 731 SwitchStmt *SS = cast<SwitchStmt>(Switch); in ActOnFinishSwitchStmt()
|
D | AnalysisBasedWarnings.cpp | 961 if (Term && isa<SwitchStmt>(Term)) in checkFallThroughIntoBlock() 1026 bool VisitSwitchStmt(SwitchStmt *S) { in VisitSwitchStmt()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 819 SwitchStmt::SwitchStmt(const ASTContext &C, VarDecl *Var, Expr *cond) in SwitchStmt() function in SwitchStmt 826 VarDecl *SwitchStmt::getConditionVariable() const { in getConditionVariable() 834 void SwitchStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
|
D | ParentMap.cpp | 193 return DirectChild == cast<SwitchStmt>(P)->getCond(); in isConsumedExpr()
|
D | StmtProfile.cpp | 122 void StmtProfiler::VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt()
|
D | ASTImporter.cpp | 185 Stmt *VisitSwitchStmt(SwitchStmt *S); 4713 Stmt *ASTNodeImporter::VisitSwitchStmt(SwitchStmt *S) { in VisitSwitchStmt() 4724 SwitchStmt *ToStmt = new (Importer.getToContext()) SwitchStmt( in VisitSwitchStmt()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 41 class SwitchStmt; variable 141 SmallVector<SwitchStmt*, 8> SwitchStack;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CoreEngine.h | 525 const SwitchStmt *getSwitch() const { in getSwitch() 526 return cast<SwitchStmt>(Src->getTerminator()); in getSwitch()
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 81 SwitchStmt, enumerator 169 return PGOHash::SwitchStmt; in getHashType() 453 void VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt()
|
D | CGStmt.cpp | 141 case Stmt::SwitchStmtClass: EmitSwitchStmt(cast<SwitchStmt>(*S)); break; in EmitStmt() 1370 static bool FindCaseStatementsForValue(const SwitchStmt &S, in FindCaseStatementsForValue() 1423 void CodeGenFunction::EmitSwitchStmt(const SwitchStmt &S) { in EmitSwitchStmt()
|
D | CodeGenFunction.cpp | 1041 if (isa<SwitchStmt>(S)) in ContainsLabel() 1061 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S) || in containsBreak()
|
D | CoverageMappingGen.cpp | 742 void VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt()
|
D | CGStmtOpenMP.cpp | 1676 auto *SwitchStmt = CGF.Builder.CreateSwitch( in EmitSections() local 1683 SwitchStmt->addCase(CGF.Builder.getInt32(CaseNumber), CaseBB); in EmitSections()
|
/external/clang/lib/ARCMigrate/ |
D | TransProtectedScope.cpp | 63 bool VisitSwitchStmt(SwitchStmt *S) { in VisitSwitchStmt()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 480 CFGBlock *VisitSwitchStmt(SwitchStmt *S); 1597 return VisitSwitchStmt(cast<SwitchStmt>(S)); in Visit() 3053 CFGBlock *CFGBuilder::VisitSwitchStmt(SwitchStmt *Terminator) { in VisitSwitchStmt() 3945 if (const SwitchStmt *S = in FilterEdge() 3946 dyn_cast_or_null<SwitchStmt>(From->getTerminator().getStmt())) { in FilterEdge() 4011 cast<SwitchStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper() 4125 void VisitSwitchStmt(SwitchStmt *Terminator) { in VisitSwitchStmt() 4577 E = cast<SwitchStmt>(Terminator)->getCond(); in getTerminatorCondition()
|
D | ReachableCode.cpp | 255 if (isa<SwitchStmt>(Term)) in shouldTreatSuccessorsAsReachable()
|
D | UninitializedValues.cpp | 652 if (isa<SwitchStmt>(Term)) { in getUninitUse()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 49 class SwitchStmt; variable 938 class SwitchStmt : public Stmt { 949 SwitchStmt(const ASTContext &C, VarDecl *Var, Expr *cond); 952 explicit SwitchStmt(EmptyShell Empty) : Stmt(SwitchStmtClass, Empty) { } in SwitchStmt() function
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 17 def SwitchStmt : Stmt;
|
/external/v8/tools/gcmole/ |
D | gcmole.cc | 884 VISIT(SwitchStmt); in VisitStmt() 1039 DECL_VISIT_STMT(SwitchStmt) { in DECL_VISIT_STMT() argument
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CoreEngine.cpp | 439 SwitchNodeBuilder builder(Pred, B, cast<SwitchStmt>(Term)->getCond(), in HandleBlockExit()
|
D | ExprEngine.cpp | 1846 const SwitchStmt *SS = builder.getSwitch(); in processSwitch() 2594 if (isa<SwitchStmt>(T)) { in getNodeLabel()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1368 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchStmt> switchStmt; 4463 AST_MATCHER_P(SwitchStmt, forEachSwitchCase, internal::Matcher<SwitchCase>, in AST_MATCHER_P() argument
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 4577 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || in RewriteFunctionBodyOrGlobalInitializer() 4743 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || in RewriteFunctionBodyOrGlobalInitializer() 4746 assert ((isa<SwitchStmt>(Stmts.back()) || isa<WhileStmt>(Stmts.back()) || in RewriteFunctionBodyOrGlobalInitializer()
|