Home
last modified time | relevance | path

Searched refs:getSubStmt (Results 1 – 25 of 31) sorted by relevance

12

/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp145 if (!S->getSubStmt()) in VisitObjCAutoreleasePoolStmt()
147 return Visit(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
159 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
DTransforms.cpp240 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
285 S = Label->getSubStmt(); in mark()
/external/clang/lib/CodeGen/
DCGStmt.cpp216 LastStmt = LS->getSubStmt(); in EmitCompoundStmt()
336 EmitStmt(S.getSubStmt()); in EmitLabelStmt()
340 EmitStmt(S.getSubStmt()); in EmitAttributedStmt()
836 EmitStmt(S.getSubStmt()); in EmitCaseStmtRange()
887 EmitStmt(S.getSubStmt()); in EmitCaseStmt()
903 isa<BreakStmt>(S.getSubStmt())) { in EmitCaseStmt()
934 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
942 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
946 EmitStmt(CurCase->getSubStmt()); in EmitCaseStmt()
954 EmitStmt(S.getSubStmt()); in EmitDefaultStmt()
[all …]
DCGExprComplex.cpp350 return CGF.EmitCompoundStmt(*E->getSubStmt(), true).getComplexVal(); in VisitStmtExpr()
DCGExprAgg.cpp677 CGF.EmitCompoundStmt(*E->getSubStmt(), true, Dest); in VisitStmtExpr()
DCGDecl.cpp953 const CompoundStmt *CS = SE->getSubStmt(); in isCapturedBy()
/external/clang/include/clang/AST/
DStmt.h646 Stmt *getSubStmt();
647 const Stmt *getSubStmt() const { in getSubStmt() function
648 return const_cast<SwitchCase*>(this)->getSubStmt(); in getSubStmt()
691 Stmt *getSubStmt() { return SubExprs[SUBSTMT]; } in getSubStmt() function
699 const Stmt *getSubStmt() const { return SubExprs[SUBSTMT]; } in getSubStmt() function
709 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getSourceRange()
712 return SourceRange(CaseLoc, CS->getSubStmt()->getLocEnd()); in getSourceRange()
737 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
738 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
778 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
[all …]
DStmtObjC.h360 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
361 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
DStmtCXX.h274 CompoundStmt *getSubStmt() const { in getSubStmt() function
DExpr.h3227 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); } in getSubStmt() function
3228 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); } in getSubStmt() function
/external/clang/lib/Sema/
DJumpDiagnostics.cpp344 Next = CS->getSubStmt(); in BuildScopeInformation()
346 Next = DS->getSubStmt(); in BuildScopeInformation()
348 Next = LS->getSubStmt(); in BuildScopeInformation()
453 BuildScopeInformation(AS->getSubStmt(), (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
DAnalysisBasedWarnings.cpp720 if (SW && SW->getSubStmt() == B.getLabel() && P->begin() == P->end()) in checkFallThroughIntoBlock()
804 if (!isa<SwitchCase>(SW->getSubStmt())) in getLastStmt()
805 return SW->getSubStmt(); in getLastStmt()
DTreeTransform.h5149 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt()
5161 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformDefaultStmt()
5173 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformLabelStmt()
5192 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformAttributedStmt()
5197 if (SubStmt.get() == S->getSubStmt() /* && attrs are the same */) in TransformAttributedStmt()
5737 StmtResult Body = getDerived().TransformStmt(S->getSubStmt()); in TransformObjCAutoreleasePoolStmt()
5743 Body.get() == S->getSubStmt()) in TransformObjCAutoreleasePoolStmt()
5968 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt()); in TransformMSDependentExistsStmt()
6777 = getDerived().TransformCompoundStmt(E->getSubStmt(), true); in TransformStmtExpr()
6784 SubStmt.get() == E->getSubStmt()) { in TransformStmtExpr()
DSemaStmt.cpp150 return DiagnoseUnusedExprResult(Label->getSubStmt()); in DiagnoseUnusedExprResult()
/external/clang/lib/AST/
DStmt.cpp107 S = LS->getSubStmt(); in stripLabelLikeStatements()
109 S = SC->getSubStmt(); in stripLabelLikeStatements()
111 S = AS->getSubStmt(); in stripLabelLikeStatements()
931 Stmt *SwitchCase::getSubStmt() { in getSubStmt() function in SwitchCase
933 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
934 return cast<DefaultStmt>(this)->getSubStmt(); in getSubStmt()
DStmtPrinter.cpp158 PrintStmt(Node->getSubStmt(), 0); in VisitCaseStmt()
163 PrintStmt(Node->getSubStmt(), 0); in VisitDefaultStmt()
168 PrintStmt(Node->getSubStmt(), 0); in VisitLabelStmt()
185 PrintStmt(Node->getSubStmt(), 0); in VisitAttributedStmt()
337 PrintRawCompoundStmt(Node->getSubStmt()); in VisitMSDependentExistsStmt()
496 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(Node->getSubStmt())); in VisitObjCAutoreleasePoolStmt()
953 PrintRawCompoundStmt(E->getSubStmt()); in VisitStmtExpr()
DExprClassification.cpp360 const CompoundStmt *S = cast<StmtExpr>(E)->getSubStmt(); in ClassifyInternal()
DExpr.cpp2006 const CompoundStmt *CS = cast<StmtExpr>(this)->getSubStmt(); in isUnusedResultAWarning()
2011 if (const Expr *E = dyn_cast<Expr>(Label->getSubStmt())) in isUnusedResultAWarning()
/external/clang/include/clang/Analysis/Visitors/
DCFGStmtVisitor.h151 CompoundStmt *CS = cast<StmtExpr>(S)->getSubStmt(); in VisitChildren()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp87 Writer.AddStmt(S->getSubStmt()); in VisitCaseStmt()
96 Writer.AddStmt(S->getSubStmt()); in VisitDefaultStmt()
105 Writer.AddStmt(S->getSubStmt()); in VisitLabelStmt()
114 Writer.AddStmt(S->getSubStmt()); in VisitAttributedStmt()
694 Writer.AddStmt(E->getSubStmt()); in VisitStmtExpr()
971 Writer.AddStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
1050 Writer.AddStmt(S->getSubStmt()); in VisitMSDependentExistsStmt()
/external/clang/lib/Analysis/
DCFG.cpp1808 addStmt(L->getSubStmt()); in VisitLabelStmt()
2149 return addStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
2531 return VisitCompoundStmt(SE->getSubStmt()); in VisitStmtExpr()
2670 if (Stmt *Sub = CS->getSubStmt()) { in VisitCaseStmt()
2690 Sub = CS->getSubStmt(); in VisitCaseStmt()
2730 if (Terminator->getSubStmt()) in VisitDefaultStmt()
2731 addStmt(Terminator->getSubStmt()); in VisitDefaultStmt()
3396 const CompoundStmt *C = SE->getSubStmt(); in PopulateBlkExprMap()
3694 const CompoundStmt *Sub = SE->getSubStmt(); in print_elem()
3698 Helper->handledStmt(*SE->getSubStmt()->body_rbegin(),OS); in print_elem()
DLiveVariables.cpp276 S = cast<StmtExpr>(S)->getSubStmt(); in Visit()
/external/clang/include/clang/Analysis/
DProgramPoint.h238 const Stmt *getSubStmt() const { return (const Stmt*) getData2(); } in getSubStmt() function
/external/v8/tools/gcmole/
Dgcmole.cc1067 return VisitStmt(stmt->getSubStmt(), after_lhs); in DECL_VISIT_STMT()
1072 return VisitStmt(stmt->getSubStmt(), in); in DECL_VISIT_STMT()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp908 if (SE->getSubStmt()->body_empty()) { in Visit()
915 if (Expr *LastExpr = dyn_cast<Expr>(*SE->getSubStmt()->body_rbegin())) { in Visit()

12