Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DJumpDiagnostics.cpp556 if (CaseStmt *CS = dyn_cast<CaseStmt>(SubStmt)) in BuildScopeInformation()
609 if (CaseStmt *CS = dyn_cast<CaseStmt>(SC)) in VerifyJumps()
DSemaStmt.cpp431 CaseStmt *CS = new (Context) in ActOnCaseStmt()
432 CaseStmt(LHS.get(), RHS.get(), CaseLoc, DotDotDotLoc, ColonLoc); in ActOnCaseStmt()
441 CaseStmt *CS = static_cast<CaseStmt*>(caseStmt); in ActOnCaseStmtBody()
552 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()()
556 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()()
557 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()()
561 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()()
569 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs, in CmpCaseVals()
570 const std::pair<llvm::APSInt, CaseStmt*>& rhs) { in CmpCaseVals()
801 typedef SmallVector<std::pair<llvm::APSInt, CaseStmt*>, 64> CaseValsTy; in ActOnFinishSwitchStmt()
[all …]
DAnalysisBasedWarnings.cpp816 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange(); in DiagUninitUse()
DSemaCodeComplete.cpp3871 CaseStmt *Case = dyn_cast<CaseStmt>(SC); in CodeCompleteCase()
/external/clang/lib/CodeGen/
DCGStmt.cpp314 case Stmt::CaseStmtClass: EmitCaseStmt(cast<CaseStmt>(*S)); break; in EmitSimpleStmt()
1102 void CodeGenFunction::EmitCaseStmtRange(const CaseStmt &S) { in EmitCaseStmtRange()
1180 void CodeGenFunction::EmitCaseStmt(const CaseStmt &S) { in EmitCaseStmt()
1239 const CaseStmt *CurCase = &S; in EmitCaseStmt()
1240 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
1256 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
1442 const CaseStmt *CS = cast<CaseStmt>(Case); in FindCaseStatementsForValue()
DCodeGenPGO.cpp87 CaseStmt, enumerator
176 return PGOHash::CaseStmt; in getHashType()
DCoverageMappingGen.cpp831 if (const auto *CS = dyn_cast<CaseStmt>(S)) { in VisitSwitchCase()
DCodeGenFunction.h2283 void EmitCaseStmt(const CaseStmt &S);
2284 void EmitCaseStmtRange(const CaseStmt &S);
/external/clang/include/clang/AST/
DStmt.h689 class CaseStmt : public SwitchCase {
695 CaseStmt(Expr *lhs, Expr *rhs, SourceLocation caseLoc, in CaseStmt() function
705 explicit CaseStmt(EmptyShell Empty) : SwitchCase(CaseStmtClass, Empty) { } in CaseStmt() function
733 const CaseStmt *CS = this; in getLocEnd()
734 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getLocEnd()
781 if (const CaseStmt *CS = dyn_cast<CaseStmt>(this)) in getLocEnd()
DRecursiveASTVisitor.h2025 DEF_TRAVERSE_STMT(CaseStmt, {})
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCoreEngine.h516 const CaseStmt *getCase() const { in getCase()
517 return cast<CaseStmt>((*I)->getLabel()); in getCase()
/external/clang/lib/Analysis/
DCFG.cpp433 CFGBlock *VisitCaseStmt(CaseStmt *C);
1466 return VisitCaseStmt(cast<CaseStmt>(S)); in Visit()
3183 const CaseStmt *CS, in shouldAddCase()
3217 CFGBlock *CFGBuilder::VisitCaseStmt(CaseStmt *CS) { in VisitCaseStmt()
3226 while (isa<CaseStmt>(Sub)) { in VisitCaseStmt()
3241 CS = cast<CaseStmt>(Sub); in VisitCaseStmt()
3981 if (!L || !isa<CaseStmt>(L)) in FilterEdge()
4369 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.cpp857 if (isa<CaseStmt>(this)) in getSubStmt()
858 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
DStmtProfile.cpp100 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt()
DStmtPrinter.cpp150 void StmtPrinter::VisitCaseStmt(CaseStmt *Node) { in VisitCaseStmt()
DASTImporter.cpp188 Stmt *VisitCaseStmt(CaseStmt *S);
4920 Stmt *ASTNodeImporter::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
4930 return new (Importer.getToContext()) CaseStmt(ToLHS, ToRHS, in VisitCaseStmt()
DExprConstant.cpp3510 const CaseStmt *CS = cast<CaseStmt>(SC); in EvaluateSwitch()
/external/v8/tools/gcmole/
Dgcmole.cc914 VISIT(CaseStmt); in VisitStmt()
1077 DECL_VISIT_STMT(CaseStmt) { in DECL_VISIT_STMT() argument
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1827 const CaseStmt *Case = I.getCase(); in processSwitch()
2660 if (const CaseStmt *C = dyn_cast<CaseStmt>(Label)) { in getNodeLabel()
DBugReporter.cpp670 const CaseStmt *Case = cast<CaseStmt>(S); in GenerateMinimalPathDiagnostic()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1575 const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt;
5280 AST_MATCHER_P(CaseStmt, hasCaseConstant, internal::Matcher<Expr>, in AST_MATCHER_P() argument
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1320 llvm::make_unique<VerifyIdIsBoundTo<CaseStmt>>("x", 3))); in TEST()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp150 void ASTStmtReader::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
2864 S = new (Context) CaseStmt(Empty); in ReadStmtFromStream()
DASTWriterStmt.cpp97 void ASTStmtWriter::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()

12