Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGStmt.cpp184 case Stmt::CaseStmtClass: EmitCaseStmt(cast<CaseStmt>(*S)); break; in EmitSimpleStmt()
825 void CodeGenFunction::EmitCaseStmtRange(const CaseStmt &S) { in EmitCaseStmtRange()
880 void CodeGenFunction::EmitCaseStmt(const CaseStmt &S) { in EmitCaseStmt()
933 const CaseStmt *CurCase = &S; in EmitCaseStmt()
934 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
942 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
1125 const CaseStmt *CS = cast<CaseStmt>(Case); in FindCaseStatementsForValue()
DCodeGenFunction.h2002 void EmitCaseStmt(const CaseStmt &S);
2003 void EmitCaseStmtRange(const CaseStmt &S);
/external/clang/lib/Sema/
DSemaStmt.cpp332 CaseStmt *CS = new (Context) CaseStmt(LHSVal, RHSVal, CaseLoc, DotDotDotLoc, in ActOnCaseStmt()
342 CaseStmt *CS = static_cast<CaseStmt*>(caseStmt); in ActOnCaseStmtBody()
461 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()()
465 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()()
466 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()()
470 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()()
478 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs, in CmpCaseVals()
479 const std::pair<llvm::APSInt, CaseStmt*>& rhs) { in CmpCaseVals()
672 typedef SmallVector<std::pair<llvm::APSInt, CaseStmt*>, 64> CaseValsTy; in ActOnFinishSwitchStmt()
676 typedef std::vector<std::pair<llvm::APSInt, CaseStmt*> > CaseRangesTy; in ActOnFinishSwitchStmt()
[all …]
DJumpDiagnostics.cpp343 if (CaseStmt *CS = dyn_cast<CaseStmt>(SubStmt)) in BuildScopeInformation()
DAnalysisBasedWarnings.cpp596 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange(); in DiagUninitUse()
DSemaCodeComplete.cpp3678 CaseStmt *Case = dyn_cast<CaseStmt>(SC); in CodeCompleteCase()
DTreeTransform.h5118 TreeTransform<Derived>::TransformCaseStmt(CaseStmt *S) { in TransformCaseStmt()
/external/clang/include/clang/AST/
DStmt.h660 class CaseStmt : public SwitchCase {
668 CaseStmt(Expr *lhs, Expr *rhs, SourceLocation caseLoc, in CaseStmt() function
680 explicit CaseStmt(EmptyShell Empty) : SwitchCase(CaseStmtClass) { } in CaseStmt() function
708 const CaseStmt *CS = this; in getSourceRange()
709 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getSourceRange()
717 static bool classof(const CaseStmt *) { return true; } in classof() argument
DRecursiveASTVisitor.h159 isa<CaseStmt>(S) || isa<CXXOperatorCallExpr>(S); in shouldUseDataRecursionFor()
1872 DEF_TRAVERSE_STMT(CaseStmt, { })
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCoreEngine.h514 const CaseStmt *getCase() const { in getCase()
515 return llvm::cast<CaseStmt>((*I)->getLabel()); in getCase()
/external/clang/lib/Analysis/
DCFG.cpp317 CFGBlock *VisitCaseStmt(CaseStmt *C);
1029 return VisitCaseStmt(cast<CaseStmt>(S)); in Visit()
2631 const CaseStmt *CS, in shouldAddCase()
2665 CFGBlock *CFGBuilder::VisitCaseStmt(CaseStmt *CS) { in VisitCaseStmt()
2674 while (isa<CaseStmt>(Sub)) { in VisitCaseStmt()
2689 CS = cast<CaseStmt>(Sub); in VisitCaseStmt()
3457 if (!L || !isa<CaseStmt>(L)) in FilterEdge()
3815 else if (CaseStmt *C = dyn_cast<CaseStmt>(Label)) { in print_block()
/external/clang/include/clang/Basic/
DStmtNodes.td28 def CaseStmt : DStmt<SwitchCase>;
/external/clang/lib/AST/
DStmt.cpp932 if (isa<CaseStmt>(this)) in getSubStmt()
933 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
DStmtProfile.cpp99 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt()
DStmtPrinter.cpp149 void StmtPrinter::VisitCaseStmt(CaseStmt *Node) { in VisitCaseStmt()
/external/v8/tools/gcmole/
Dgcmole.cc901 VISIT(CaseStmt); in VisitStmt()
1064 DECL_VISIT_STMT(CaseStmt) { in DECL_VISIT_STMT() argument
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1315 const CaseStmt *Case = I.getCase(); in processSwitch()
1999 if (const CaseStmt *C = dyn_cast<CaseStmt>(Label)) { in getNodeLabel()
DBugReporter.cpp533 const CaseStmt *Case = cast<CaseStmt>(S); in GenerateMinimalPathDiagnostic()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp137 void ASTStmtReader::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
1642 S = new (Context) CaseStmt(Empty); in ReadStmtFromStream()
DASTWriterStmt.cpp83 void ASTStmtWriter::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
/external/clang/tools/libclang/
DRecursiveASTVisitor.h1798 DEF_TRAVERSE_STMT(CaseStmt, { })
/external/clang/include/clang/Sema/
DSema.h2501 void ActOnCaseStmtBody(Stmt *CaseStmt, Stmt *SubStmt);