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

/external/clang/lib/Sema/
H A DJumpDiagnostics.cpp358 if (CaseStmt *CS = dyn_cast<CaseStmt>(SubStmt))
515 if (CaseStmt *CS = dyn_cast<CaseStmt>(SC))
H A DSemaStmt.cpp384 CaseStmt *CS = new (Context) CaseStmt(LHSVal, RHSVal, CaseLoc, DotDotDotLoc,
394 CaseStmt *CS = static_cast<CaseStmt*>(caseStmt);
521 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS,
525 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS,
526 const std::pair<llvm::APSInt, CaseStmt*> &RHS) {
530 const std::pair<llvm::APSInt, CaseStmt*> &RHS) {
538 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs,
539 const std::pair<llvm::APSInt, CaseStmt*>
[all...]
H A DAnalysisBasedWarnings.cpp809 Range = cast<CaseStmt>(Term)->getLHS()->getSourceRange();
H A DSemaCodeComplete.cpp3742 CaseStmt *Case = dyn_cast<CaseStmt>(SC);
H A DTreeTransform.h5422 TreeTransform<Derived>::TransformCaseStmt(CaseStmt *S) {
/external/clang/lib/CodeGen/
H A DCGStmt.cpp219 case Stmt::CaseStmtClass: EmitCaseStmt(cast<CaseStmt>(*S)); break;
1089 void CodeGenFunction::EmitCaseStmtRange(const CaseStmt &S) {
1090 assert(S.getRHS() && "Expected RHS value in CaseStmt");
1169 void CodeGenFunction::EmitCaseStmt(const CaseStmt &S) {
1229 const CaseStmt *CurCase = &S;
1230 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt());
1247 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt());
1434 const CaseStmt *CS = cast<CaseStmt>(Cas
[all...]
H A DCodeGenPGO.cpp241 CaseStmt,
330 return PGOHash::CaseStmt;
629 void VisitCaseStmt(const CaseStmt *S) {
H A DCodeGenFunction.h1877 void EmitCaseStmt(const CaseStmt &S);
1878 void EmitCaseStmtRange(const CaseStmt &S);
/external/clang/include/clang/AST/
H A DStmt.h639 // SwitchCase is the base class for CaseStmt and DefaultStmt,
642 // A pointer to the following CaseStmt or DefaultStmt class,
681 class CaseStmt : public SwitchCase { class in namespace:clang
687 CaseStmt(Expr *lhs, Expr *rhs, SourceLocation caseLoc, function in class:clang::CaseStmt
697 explicit CaseStmt(EmptyShell Empty) : SwitchCase(CaseStmtClass, Empty) { } function in class:clang::CaseStmt
725 const CaseStmt *CS = this;
726 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt()))
773 if (const CaseStmt *CS = dyn_cast<CaseStmt>(thi
[all...]
H A DRecursiveASTVisitor.h154 isa<CaseStmt>(S) || isa<CXXOperatorCallExpr>(S);
1920 DEF_TRAVERSE_STMT(CaseStmt, {})
H A DDataRecursiveASTVisitor.h1903 DEF_TRAVERSE_STMT(CaseStmt, {})
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h518 const CaseStmt *getCase() const {
519 return cast<CaseStmt>((*I)->getLabel());
/external/clang/lib/Analysis/
H A DCFG.cpp356 CFGBlock *VisitCaseStmt(CaseStmt *C);
1341 return VisitCaseStmt(cast<CaseStmt>(S));
3012 const CaseStmt *CS,
3046 CFGBlock *CFGBuilder::VisitCaseStmt(CaseStmt *CS) {
3055 while (isa<CaseStmt>(Sub)) {
3070 CS = cast<CaseStmt>(Sub);
3786 // CaseStmt then filter this edge.
3791 if (!L || !isa<CaseStmt>(L))
4179 else if (CaseStmt *C = dyn_cast<CaseStmt>(Labe
[all...]
/external/chromium_org/v8/tools/gcmole/
H A Dgcmole.cc882 VISIT(CaseStmt);
1045 DECL_VISIT_STMT(CaseStmt) {
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1067 const internal::VariadicDynCastAllOfMatcher<Stmt, CaseStmt> caseStmt;
3626 AST_MATCHER_P(CaseStmt, hasCaseConstant, internal::Matcher<Expr>,
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp1647 const CaseStmt *Case = I.getCase();
2434 if (const CaseStmt *C = dyn_cast<CaseStmt>(Label)) {
H A DBugReporter.cpp674 const CaseStmt *Case = cast<CaseStmt>(S);
/external/clang/lib/AST/
H A DStmt.cpp910 if (isa<CaseStmt>(this))
911 return cast<CaseStmt>(this)->getSubStmt();
H A DStmtPrinter.cpp148 void StmtPrinter::VisitCaseStmt(CaseStmt *Node) {
H A DStmtProfile.cpp98 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) {
H A DExprConstant.cpp3219 const CaseStmt *CS = cast<CaseStmt>(SC);
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp149 void ASTStmtReader::VisitCaseStmt(CaseStmt *S) {
2057 S = new (Context) CaseStmt(Empty);
H A DASTWriterStmt.cpp88 void ASTStmtWriter::VisitCaseStmt(CaseStmt *S) {
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp3117 new VerifyIdIsBoundTo<CaseStmt>("x", 3)));
/external/clang/include/clang/Sema/
H A DSema.h3008 void ActOnCaseStmtBody(Stmt *CaseStmt, Stmt *SubStmt);

Completed in 3631 milliseconds