Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DJumpDiagnostics.cpp391 if (CaseStmt *CS = dyn_cast<CaseStmt>(SubStmt)) in BuildScopeInformation()
555 if (CaseStmt *CS = dyn_cast<CaseStmt>(SC)) in VerifyJumps()
DSemaStmt.cpp430 CaseStmt *CS = new (Context) in ActOnCaseStmt()
431 CaseStmt(LHS.get(), RHS.get(), CaseLoc, DotDotDotLoc, ColonLoc); in ActOnCaseStmt()
440 CaseStmt *CS = static_cast<CaseStmt*>(caseStmt); in ActOnCaseStmtBody()
525 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()()
529 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()()
530 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()()
534 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()()
542 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs, in CmpCaseVals()
543 const std::pair<llvm::APSInt, CaseStmt*>& rhs) { in CmpCaseVals()
791 typedef SmallVector<std::pair<llvm::APSInt, CaseStmt*>, 64> CaseValsTy; in ActOnFinishSwitchStmt()
[all …]
DAnalysisBasedWarnings.cpp816 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange(); in DiagUninitUse()
DSemaCodeComplete.cpp3851 CaseStmt *Case = dyn_cast<CaseStmt>(SC); in CodeCompleteCase()
/external/clang/lib/CodeGen/
DCGStmt.cpp284 case Stmt::CaseStmtClass: EmitCaseStmt(cast<CaseStmt>(*S)); break; in EmitSimpleStmt()
1049 void CodeGenFunction::EmitCaseStmtRange(const CaseStmt &S) { in EmitCaseStmtRange()
1127 void CodeGenFunction::EmitCaseStmt(const CaseStmt &S) { in EmitCaseStmt()
1186 const CaseStmt *CurCase = &S; in EmitCaseStmt()
1187 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
1203 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
1389 const CaseStmt *CS = cast<CaseStmt>(Case); in FindCaseStatementsForValue()
DCodeGenPGO.cpp82 CaseStmt, enumerator
171 return PGOHash::CaseStmt; in getHashType()
DCoverageMappingGen.cpp788 if (const CaseStmt *CS = dyn_cast<CaseStmt>(S)) { in VisitSwitchCase()
DCodeGenFunction.h2154 void EmitCaseStmt(const CaseStmt &S);
2155 void EmitCaseStmtRange(const CaseStmt &S);
/external/clang/include/clang/AST/
DStmt.h677 class CaseStmt : public SwitchCase {
683 CaseStmt(Expr *lhs, Expr *rhs, SourceLocation caseLoc, in CaseStmt() function
693 explicit CaseStmt(EmptyShell Empty) : SwitchCase(CaseStmtClass, Empty) { } in CaseStmt() function
721 const CaseStmt *CS = this; in getLocEnd()
722 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getLocEnd()
769 if (const CaseStmt *CS = dyn_cast<CaseStmt>(this)) in getLocEnd()
DRecursiveASTVisitor.h1926 DEF_TRAVERSE_STMT(CaseStmt, {})
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCoreEngine.h513 const CaseStmt *getCase() const { in getCase()
514 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()
3156 const CaseStmt *CS, in shouldAddCase()
3190 CFGBlock *CFGBuilder::VisitCaseStmt(CaseStmt *CS) { in VisitCaseStmt()
3199 while (isa<CaseStmt>(Sub)) { in VisitCaseStmt()
3214 CS = cast<CaseStmt>(Sub); in VisitCaseStmt()
3949 if (!L || !isa<CaseStmt>(L)) in FilterEdge()
4337 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.cpp846 if (isa<CaseStmt>(this)) in getSubStmt()
847 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()
DASTImporter.cpp180 Stmt *VisitCaseStmt(CaseStmt *S);
4630 Stmt *ASTNodeImporter::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
4640 return new (Importer.getToContext()) CaseStmt(ToLHS, ToRHS, in VisitCaseStmt()
DExprConstant.cpp3399 const CaseStmt *CS = cast<CaseStmt>(SC); in EvaluateSwitch()
/external/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.h1388 const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt;
4621 AST_MATCHER_P(CaseStmt, hasCaseConstant, internal::Matcher<Expr>, in AST_MATCHER_P() argument
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1803 const CaseStmt *Case = I.getCase(); in processSwitch()
2598 if (const CaseStmt *C = dyn_cast<CaseStmt>(Label)) { in getNodeLabel()
DBugReporter.cpp670 const CaseStmt *Case = cast<CaseStmt>(S); in GenerateMinimalPathDiagnostic()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp149 void ASTStmtReader::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
2562 S = new (Context) CaseStmt(Empty); in ReadStmtFromStream()
DASTWriterStmt.cpp88 void ASTStmtWriter::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp3538 new VerifyIdIsBoundTo<CaseStmt>("x", 3))); in TEST()

12