Home
last modified time | relevance | path

Searched refs:CaseStmt (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/lib/Sema/
DJumpDiagnostics.cpp358 if (CaseStmt *CS = dyn_cast<CaseStmt>(SubStmt)) in BuildScopeInformation()
515 if (CaseStmt *CS = dyn_cast<CaseStmt>(SC)) in VerifyJumps()
DSemaStmt.cpp384 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 …]
DAnalysisBasedWarnings.cpp809 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange(); in DiagUninitUse()
DSemaCodeComplete.cpp3742 CaseStmt *Case = dyn_cast<CaseStmt>(SC); in CodeCompleteCase()
/external/clang/lib/CodeGen/
DCGStmt.cpp219 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()
DCodeGenPGO.cpp241 CaseStmt, enumerator
330 return PGOHash::CaseStmt; in getHashType()
629 void VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt()
DCodeGenFunction.h1877 void EmitCaseStmt(const CaseStmt &S);
1878 void EmitCaseStmtRange(const CaseStmt &S);
/external/clang/include/clang/AST/
DStmt.h681 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()
DRecursiveASTVisitor.h154 isa<CaseStmt>(S) || isa<CXXOperatorCallExpr>(S); in shouldUseDataRecursionFor()
1920 DEF_TRAVERSE_STMT(CaseStmt, {})
DDataRecursiveASTVisitor.h1903 DEF_TRAVERSE_STMT(CaseStmt, {})
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCoreEngine.h518 const CaseStmt *getCase() const { in getCase()
519 return cast<CaseStmt>((*I)->getLabel()); in getCase()
/external/clang/lib/Analysis/
DCFG.cpp356 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/
DStmtNodes.td28 def CaseStmt : DStmt<SwitchCase>;
/external/chromium_org/v8/tools/gcmole/
Dgcmole.cc882 VISIT(CaseStmt); in VisitStmt()
1045 DECL_VISIT_STMT(CaseStmt) { in DECL_VISIT_STMT() argument
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1067 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/
DExprEngine.cpp1647 const CaseStmt *Case = I.getCase(); in processSwitch()
2434 if (const CaseStmt *C = dyn_cast<CaseStmt>(Label)) { in getNodeLabel()
DBugReporter.cpp674 const CaseStmt *Case = cast<CaseStmt>(S); in GenerateMinimalPathDiagnostic()
/external/clang/lib/AST/
DStmt.cpp910 if (isa<CaseStmt>(this)) in getSubStmt()
911 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
DStmtProfile.cpp98 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt()
DStmtPrinter.cpp148 void StmtPrinter::VisitCaseStmt(CaseStmt *Node) { in VisitCaseStmt()
DExprConstant.cpp3219 const CaseStmt *CS = cast<CaseStmt>(SC); in EvaluateSwitch()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp149 void ASTStmtReader::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
2057 S = new (Context) CaseStmt(Empty); in ReadStmtFromStream()
DASTWriterStmt.cpp88 void ASTStmtWriter::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp3117 new VerifyIdIsBoundTo<CaseStmt>("x", 3))); in TEST()
/external/clang/include/clang/Sema/
DSema.h3008 void ActOnCaseStmtBody(Stmt *CaseStmt, Stmt *SubStmt);

12