Home
last modified time | relevance | path

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

12

/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp144 if (!S->getSubStmt()) in VisitObjCAutoreleasePoolStmt()
146 return Visit(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
158 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
DTransforms.cpp256 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
300 S = Label->getSubStmt(); in mark()
/external/clang/include/clang/AST/
DStmt.h673 Stmt *getSubStmt();
674 const Stmt *getSubStmt() const { in getSubStmt() function
675 return const_cast<SwitchCase*>(this)->getSubStmt(); in getSubStmt()
714 Stmt *getSubStmt() { return SubExprs[SUBSTMT]; } in getSubStmt() function
722 const Stmt *getSubStmt() const { return SubExprs[SUBSTMT]; } in getSubStmt() function
732 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getLocEnd()
735 return CS->getSubStmt()->getLocEnd(); in getLocEnd()
758 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
759 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
807 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.h3410 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); } in getSubStmt() function
3411 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); } in getSubStmt() function
/external/clang/lib/CodeGen/
DCGStmt.cpp295 LastStmt = LS->getSubStmt(); in EmitCompoundStmtWithoutScope()
457 EmitStmt(S.getSubStmt()); in EmitLabelStmt()
461 const Stmt *SubStmt = S.getSubStmt(); in EmitAttributedStmt()
1148 EmitStmt(S.getSubStmt()); in EmitCaseStmtRange()
1222 EmitStmt(S.getSubStmt()); in EmitCaseStmt()
1241 isa<BreakStmt>(S.getSubStmt())) { in EmitCaseStmt()
1276 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
1293 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
1297 EmitStmt(CurCase->getSubStmt()); in EmitCaseStmt()
1308 EmitStmt(S.getSubStmt()); in EmitDefaultStmt()
[all …]
DCodeGenPGO.cpp332 Visit(S->getSubStmt()); in VisitLabelStmt()
515 Visit(S->getSubStmt()); in VisitCaseStmt()
526 Visit(S->getSubStmt()); in VisitDefaultStmt()
DCoverageMappingGen.cpp602 Visit(S->getSubStmt()); in VisitLabelStmt()
785 Visit(S->getSubStmt()); in VisitSwitchCase()
DCGExprAgg.cpp765 CGF.EmitCompoundStmt(*E->getSubStmt(), true, Dest); in VisitStmtExpr()
DCGExprComplex.cpp388 llvm::Value *RetAlloca = CGF.EmitCompoundStmt(*E->getSubStmt(), true); in VisitStmtExpr()
DCGDecl.cpp1045 const CompoundStmt *CS = SE->getSubStmt(); in isCapturedBy()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp390 Next = CS->getSubStmt(); in BuildScopeInformation()
392 Next = DS->getSubStmt(); in BuildScopeInformation()
394 Next = LS->getSubStmt(); in BuildScopeInformation()
476 BuildScopeInformation(AS->getSubStmt(), in BuildScopeInformation()
DAnalysisBasedWarnings.cpp954 if (SW && SW->getSubStmt() == B.getLabel() && P->begin() == P->end()) in checkFallThroughIntoBlock()
958 if (L && L->getSubStmt() == B.getLabel() && P->begin() == P->end()) in checkFallThroughIntoBlock()
1050 if (!isa<SwitchCase>(SW->getSubStmt())) in getLastStmt()
1051 return SW->getSubStmt(); in getLastStmt()
DTreeTransform.h5690 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt()
5702 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformDefaultStmt()
5714 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformLabelStmt()
5759 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformAttributedStmt()
5763 if (SubStmt.get() == S->getSubStmt() && !AttrsChanged) in TransformAttributedStmt()
6324 StmtResult Body = getDerived().TransformStmt(S->getSubStmt()); in TransformObjCAutoreleasePoolStmt()
6330 Body.get() == S->getSubStmt()) in TransformObjCAutoreleasePoolStmt()
6550 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt()); in TransformMSDependentExistsStmt()
8033 = getDerived().TransformCompoundStmt(E->getSubStmt(), true); in TransformStmtExpr()
8040 SubStmt.get() == E->getSubStmt()) { in TransformStmtExpr()
DSemaLambda.cpp521 if (Expr *last = dyn_cast_or_null<Expr>(SE->getSubStmt()->body_back())) in findEnumForBlockReturn()
/external/clang/lib/AST/
DStmtPrinter.cpp157 PrintStmt(Node->getSubStmt(), 0); in VisitCaseStmt()
162 PrintStmt(Node->getSubStmt(), 0); in VisitDefaultStmt()
167 PrintStmt(Node->getSubStmt(), 0); in VisitLabelStmt()
175 PrintStmt(Node->getSubStmt(), 0); in VisitAttributedStmt()
337 PrintRawCompoundStmt(Node->getSubStmt()); in VisitMSDependentExistsStmt()
506 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(Node->getSubStmt())); in VisitObjCAutoreleasePoolStmt()
1336 PrintRawCompoundStmt(E->getSubStmt()); in VisitStmtExpr()
DStmt.cpp122 S = AS->getSubStmt(); in IgnoreContainers()
141 S = LS->getSubStmt(); in stripLabelLikeStatements()
143 S = SC->getSubStmt(); in stripLabelLikeStatements()
145 S = AS->getSubStmt(); in stripLabelLikeStatements()
968 Stmt *SwitchCase::getSubStmt() { in getSubStmt() function in SwitchCase
970 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
971 return cast<DefaultStmt>(this)->getSubStmt(); in getSubStmt()
DExprClassification.cpp370 const CompoundStmt *S = cast<StmtExpr>(E)->getSubStmt(); in ClassifyInternal()
/external/clang/lib/Analysis/
DCFG.cpp2242 addStmt(L->getSubStmt()); in VisitLabelStmt()
2591 return addStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
2973 return VisitCompoundStmt(SE->getSubStmt()); in VisitStmtExpr()
3118 if (Stmt *Sub = CS->getSubStmt()) { in VisitCaseStmt()
3138 Sub = CS->getSubStmt(); in VisitCaseStmt()
3177 if (Terminator->getSubStmt()) in VisitDefaultStmt()
3178 addStmt(Terminator->getSubStmt()); in VisitDefaultStmt()
4118 const CompoundStmt *Sub = SE->getSubStmt(); in print_elem()
4122 Helper.handledStmt(*SE->getSubStmt()->body_rbegin(),OS); in print_elem()
DLiveVariables.cpp270 S = cast<StmtExpr>(S)->getSubStmt(); in Visit()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp92 Writer.AddStmt(S->getSubStmt()); in VisitCaseStmt()
99 Writer.AddStmt(S->getSubStmt()); in VisitDefaultStmt()
106 Writer.AddStmt(S->getSubStmt()); in VisitLabelStmt()
115 Writer.AddStmt(S->getSubStmt()); in VisitAttributedStmt()
765 Writer.AddStmt(E->getSubStmt()); in VisitStmtExpr()
1053 Writer.AddStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
1132 Writer.AddStmt(S->getSubStmt()); in VisitMSDependentExistsStmt()
/external/v8/tools/gcmole/
Dgcmole.cc1048 return VisitStmt(stmt->getSubStmt(), after_lhs); in DECL_VISIT_STMT()
1053 return VisitStmt(stmt->getSubStmt(), in); in DECL_VISIT_STMT()
/external/clang/include/clang/Analysis/
DProgramPoint.h269 const Stmt *getSubStmt() const { return (const Stmt*) getData2(); } in getSubStmt() function
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1257 if (SE->getSubStmt()->body_empty()) { in Visit()
1264 if (Expr *LastExpr = dyn_cast<Expr>(*SE->getSubStmt()->body_rbegin())) { in Visit()

12