Home
last modified time | relevance | path

Searched refs:getSubStmt (Results 1 – 25 of 32) 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.cpp250 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
295 S = Label->getSubStmt(); in mark()
/external/clang/lib/CodeGen/
DCGStmt.cpp222 LastStmt = LS->getSubStmt(); in EmitCompoundStmtWithoutScope()
346 EmitStmt(S.getSubStmt()); in EmitLabelStmt()
350 EmitStmt(S.getSubStmt()); in EmitAttributedStmt()
870 EmitStmt(S.getSubStmt()); in EmitCaseStmtRange()
921 EmitStmt(S.getSubStmt()); in EmitCaseStmt()
937 isa<BreakStmt>(S.getSubStmt())) { in EmitCaseStmt()
968 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
976 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
980 EmitStmt(CurCase->getSubStmt()); in EmitCaseStmt()
988 EmitStmt(S.getSubStmt()); in EmitDefaultStmt()
[all …]
DCGExprComplex.cpp357 return CGF.EmitCompoundStmt(*E->getSubStmt(), true).getComplexVal(); in VisitStmtExpr()
DCGDecl.cpp957 const CompoundStmt *CS = SE->getSubStmt(); in isCapturedBy()
DCGExprAgg.cpp806 CGF.EmitCompoundStmt(*E->getSubStmt(), true, Dest); in VisitStmtExpr()
/external/clang/include/clang/AST/
DStmt.h655 Stmt *getSubStmt();
656 const Stmt *getSubStmt() const { in getSubStmt() function
657 return const_cast<SwitchCase*>(this)->getSubStmt(); in getSubStmt()
696 Stmt *getSubStmt() { return SubExprs[SUBSTMT]; } in getSubStmt() function
704 const Stmt *getSubStmt() const { return SubExprs[SUBSTMT]; } in getSubStmt() function
714 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getLocEnd()
717 return CS->getSubStmt()->getLocEnd(); in getLocEnd()
740 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
741 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
785 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
[all …]
DStmtObjC.h356 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
357 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
DStmtCXX.h274 CompoundStmt *getSubStmt() const { in getSubStmt() function
DExpr.h3338 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); } in getSubStmt() function
3339 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); } in getSubStmt() function
/external/clang/lib/AST/
DStmt.cpp119 S = LS->getSubStmt(); in stripLabelLikeStatements()
121 S = SC->getSubStmt(); in stripLabelLikeStatements()
123 S = AS->getSubStmt(); in stripLabelLikeStatements()
919 Stmt *SwitchCase::getSubStmt() { in getSubStmt() function in SwitchCase
921 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
922 return cast<DefaultStmt>(this)->getSubStmt(); in getSubStmt()
DStmtPrinter.cpp161 PrintStmt(Node->getSubStmt(), 0); in VisitCaseStmt()
166 PrintStmt(Node->getSubStmt(), 0); in VisitDefaultStmt()
171 PrintStmt(Node->getSubStmt(), 0); in VisitLabelStmt()
188 PrintStmt(Node->getSubStmt(), 0); in VisitAttributedStmt()
349 PrintRawCompoundStmt(Node->getSubStmt()); in VisitMSDependentExistsStmt()
508 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(Node->getSubStmt())); in VisitObjCAutoreleasePoolStmt()
991 PrintRawCompoundStmt(E->getSubStmt()); in VisitStmtExpr()
DExprClassification.cpp360 const CompoundStmt *S = cast<StmtExpr>(E)->getSubStmt(); in ClassifyInternal()
DExpr.cpp2112 const CompoundStmt *CS = cast<StmtExpr>(this)->getSubStmt(); in isUnusedResultAWarning()
2117 if (const Expr *E = dyn_cast<Expr>(Label->getSubStmt())) in isUnusedResultAWarning()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp377 Next = CS->getSubStmt(); in BuildScopeInformation()
379 Next = DS->getSubStmt(); in BuildScopeInformation()
381 Next = LS->getSubStmt(); in BuildScopeInformation()
462 BuildScopeInformation(AS->getSubStmt(), (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
DAnalysisBasedWarnings.cpp754 if (SW && SW->getSubStmt() == B.getLabel() && P->begin() == P->end()) in checkFallThroughIntoBlock()
758 if (L && L->getSubStmt() == B.getLabel() && P->begin() == P->end()) in checkFallThroughIntoBlock()
843 if (!isa<SwitchCase>(SW->getSubStmt())) in getLastStmt()
844 return SW->getSubStmt(); in getLastStmt()
DTreeTransform.h5180 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt()
5192 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformDefaultStmt()
5204 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformLabelStmt()
5223 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformAttributedStmt()
5228 if (SubStmt.get() == S->getSubStmt() /* && attrs are the same */) in TransformAttributedStmt()
5768 StmtResult Body = getDerived().TransformStmt(S->getSubStmt()); in TransformObjCAutoreleasePoolStmt()
5774 Body.get() == S->getSubStmt()) in TransformObjCAutoreleasePoolStmt()
5999 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt()); in TransformMSDependentExistsStmt()
6824 = getDerived().TransformCompoundStmt(E->getSubStmt(), true); in TransformStmtExpr()
6831 SubStmt.get() == E->getSubStmt()) { in TransformStmtExpr()
DSemaLambda.cpp260 if (Expr *last = dyn_cast_or_null<Expr>(SE->getSubStmt()->body_back())) in findEnumForBlockReturn()
/external/clang/include/clang/Analysis/Visitors/
DCFGStmtVisitor.h151 CompoundStmt *CS = cast<StmtExpr>(S)->getSubStmt(); in VisitChildren()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp89 Writer.AddStmt(S->getSubStmt()); in VisitCaseStmt()
96 Writer.AddStmt(S->getSubStmt()); in VisitDefaultStmt()
103 Writer.AddStmt(S->getSubStmt()); in VisitLabelStmt()
112 Writer.AddStmt(S->getSubStmt()); in VisitAttributedStmt()
696 Writer.AddStmt(E->getSubStmt()); in VisitStmtExpr()
973 Writer.AddStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
1052 Writer.AddStmt(S->getSubStmt()); in VisitMSDependentExistsStmt()
/external/clang/lib/Analysis/
DCFG.cpp1853 addStmt(L->getSubStmt()); in VisitLabelStmt()
2194 return addStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
2576 return VisitCompoundStmt(SE->getSubStmt()); in VisitStmtExpr()
2715 if (Stmt *Sub = CS->getSubStmt()) { in VisitCaseStmt()
2735 Sub = CS->getSubStmt(); in VisitCaseStmt()
2775 if (Terminator->getSubStmt()) in VisitDefaultStmt()
2776 addStmt(Terminator->getSubStmt()); in VisitDefaultStmt()
3432 const CompoundStmt *C = SE->getSubStmt(); in PopulateBlkExprMap()
3730 const CompoundStmt *Sub = SE->getSubStmt(); in print_elem()
3734 Helper->handledStmt(*SE->getSubStmt()->body_rbegin(),OS); in print_elem()
DLiveVariables.cpp286 S = cast<StmtExpr>(S)->getSubStmt(); in Visit()
/external/clang/include/clang/Analysis/
DProgramPoint.h269 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.cpp1017 if (SE->getSubStmt()->body_empty()) { in Visit()
1024 if (Expr *LastExpr = dyn_cast<Expr>(*SE->getSubStmt()->body_rbegin())) { in Visit()

12