/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 358 if (CaseStmt *CS = dyn_cast<CaseStmt>(SubStmt)) in BuildScopeInformation() 515 if (CaseStmt *CS = dyn_cast<CaseStmt>(SC)) in VerifyJumps()
|
D | SemaStmt.cpp | 384 CaseStmt *CS = new (Context) CaseStmt(LHSVal, RHSVal, CaseLoc, DotDotDotLoc, in ActOnCaseStmt() 394 CaseStmt *CS = static_cast<CaseStmt*>(caseStmt); in ActOnCaseStmtBody() 521 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()() 525 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()() 526 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()() 530 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()() 538 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs, in CmpCaseVals() 539 const std::pair<llvm::APSInt, CaseStmt*>& rhs) { in CmpCaseVals() 753 typedef SmallVector<std::pair<llvm::APSInt, CaseStmt*>, 64> CaseValsTy; in ActOnFinishSwitchStmt() 757 typedef std::vector<std::pair<llvm::APSInt, CaseStmt*> > CaseRangesTy; in ActOnFinishSwitchStmt() [all …]
|
D | AnalysisBasedWarnings.cpp | 809 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange(); in DiagUninitUse()
|
D | SemaCodeComplete.cpp | 3742 CaseStmt *Case = dyn_cast<CaseStmt>(SC); in CodeCompleteCase()
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 219 case Stmt::CaseStmtClass: EmitCaseStmt(cast<CaseStmt>(*S)); break; in EmitSimpleStmt() 1089 void CodeGenFunction::EmitCaseStmtRange(const CaseStmt &S) { in EmitCaseStmtRange() 1169 void CodeGenFunction::EmitCaseStmt(const CaseStmt &S) { in EmitCaseStmt() 1229 const CaseStmt *CurCase = &S; in EmitCaseStmt() 1230 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt() 1247 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt() 1434 const CaseStmt *CS = cast<CaseStmt>(Case); in FindCaseStatementsForValue()
|
D | CodeGenPGO.cpp | 241 CaseStmt, enumerator 330 return PGOHash::CaseStmt; in getHashType() 629 void VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt()
|
D | CodeGenFunction.h | 1877 void EmitCaseStmt(const CaseStmt &S); 1878 void EmitCaseStmtRange(const CaseStmt &S);
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 681 class CaseStmt : public SwitchCase { 687 CaseStmt(Expr *lhs, Expr *rhs, SourceLocation caseLoc, in CaseStmt() function 697 explicit CaseStmt(EmptyShell Empty) : SwitchCase(CaseStmtClass, Empty) { } in CaseStmt() function 725 const CaseStmt *CS = this; in getLocEnd() 726 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getLocEnd() 773 if (const CaseStmt *CS = dyn_cast<CaseStmt>(this)) in getLocEnd()
|
D | RecursiveASTVisitor.h | 154 isa<CaseStmt>(S) || isa<CXXOperatorCallExpr>(S); in shouldUseDataRecursionFor() 1920 DEF_TRAVERSE_STMT(CaseStmt, {})
|
D | DataRecursiveASTVisitor.h | 1903 DEF_TRAVERSE_STMT(CaseStmt, {})
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CoreEngine.h | 518 const CaseStmt *getCase() const { in getCase() 519 return cast<CaseStmt>((*I)->getLabel()); in getCase()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 356 CFGBlock *VisitCaseStmt(CaseStmt *C); 1341 return VisitCaseStmt(cast<CaseStmt>(S)); in Visit() 3012 const CaseStmt *CS, in shouldAddCase() 3046 CFGBlock *CFGBuilder::VisitCaseStmt(CaseStmt *CS) { in VisitCaseStmt() 3055 while (isa<CaseStmt>(Sub)) { in VisitCaseStmt() 3070 CS = cast<CaseStmt>(Sub); in VisitCaseStmt() 3791 if (!L || !isa<CaseStmt>(L)) in FilterEdge() 4179 else if (CaseStmt *C = dyn_cast<CaseStmt>(Label)) { in print_block()
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 28 def CaseStmt : DStmt<SwitchCase>;
|
/external/chromium_org/v8/tools/gcmole/ |
D | gcmole.cc | 882 VISIT(CaseStmt); in VisitStmt() 1045 DECL_VISIT_STMT(CaseStmt) { in DECL_VISIT_STMT() argument
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1067 const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt; 3626 AST_MATCHER_P(CaseStmt, hasCaseConstant, internal::Matcher<Expr>, in AST_MATCHER_P() argument
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 1647 const CaseStmt *Case = I.getCase(); in processSwitch() 2434 if (const CaseStmt *C = dyn_cast<CaseStmt>(Label)) { in getNodeLabel()
|
D | BugReporter.cpp | 674 const CaseStmt *Case = cast<CaseStmt>(S); in GenerateMinimalPathDiagnostic()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 910 if (isa<CaseStmt>(this)) in getSubStmt() 911 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
|
D | StmtProfile.cpp | 98 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt()
|
D | StmtPrinter.cpp | 148 void StmtPrinter::VisitCaseStmt(CaseStmt *Node) { in VisitCaseStmt()
|
D | ExprConstant.cpp | 3219 const CaseStmt *CS = cast<CaseStmt>(SC); in EvaluateSwitch()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 149 void ASTStmtReader::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt() 2057 S = new (Context) CaseStmt(Empty); in ReadStmtFromStream()
|
D | ASTWriterStmt.cpp | 88 void ASTStmtWriter::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 3117 new VerifyIdIsBoundTo<CaseStmt>("x", 3))); in TEST()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3008 void ActOnCaseStmtBody(Stmt *CaseStmt, Stmt *SubStmt);
|