Home
last modified time | relevance | path

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

12

/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp142 if (!S->getSubStmt()) in VisitObjCAutoreleasePoolStmt()
144 return Visit(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
156 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
DTransforms.cpp252 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
296 S = Label->getSubStmt(); in mark()
/external/clang/include/clang/AST/
DStmt.h663 Stmt *getSubStmt();
664 const Stmt *getSubStmt() const { in getSubStmt() function
665 return const_cast<SwitchCase*>(this)->getSubStmt(); in getSubStmt()
704 Stmt *getSubStmt() { return SubExprs[SUBSTMT]; } in getSubStmt() function
712 const Stmt *getSubStmt() const { return SubExprs[SUBSTMT]; } in getSubStmt() function
722 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getLocEnd()
725 return CS->getSubStmt()->getLocEnd(); in getLocEnd()
748 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
749 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
797 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.h275 CompoundStmt *getSubStmt() const { in getSubStmt() function
/external/clang/lib/AST/
DStmt.cpp123 S = AS->getSubStmt(); in IgnoreContainers()
142 S = LS->getSubStmt(); in stripLabelLikeStatements()
144 S = SC->getSubStmt(); in stripLabelLikeStatements()
146 S = AS->getSubStmt(); in stripLabelLikeStatements()
845 Stmt *SwitchCase::getSubStmt() { in getSubStmt() function in SwitchCase
847 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
848 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()
176 PrintStmt(Node->getSubStmt(), 0); in VisitAttributedStmt()
338 PrintRawCompoundStmt(Node->getSubStmt()); in VisitMSDependentExistsStmt()
509 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(Node->getSubStmt())); in VisitObjCAutoreleasePoolStmt()
1492 PrintRawCompoundStmt(E->getSubStmt()); in VisitStmtExpr()
DExprClassification.cpp375 const CompoundStmt *S = cast<StmtExpr>(E)->getSubStmt(); in ClassifyInternal()
DASTImporter.cpp4648 Stmt *ToSubStmt = Importer.Import(S->getSubStmt()); in VisitDefaultStmt()
4649 if (!ToSubStmt && S->getSubStmt()) in VisitDefaultStmt()
4661 Stmt *ToSubStmt = Importer.Import(S->getSubStmt()); in VisitLabelStmt()
4662 if (!ToSubStmt && S->getSubStmt()) in VisitLabelStmt()
4681 Stmt *ToSubStmt = Importer.Import(S->getSubStmt()); in VisitAttributedStmt()
4682 if (!ToSubStmt && S->getSubStmt()) in VisitAttributedStmt()
5021 Stmt *ToSubStmt = Importer.Import(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
5022 if (!ToSubStmt && S->getSubStmt()) in VisitObjCAutoreleasePoolStmt()
DExpr.cpp2294 const CompoundStmt *CS = cast<StmtExpr>(this)->getSubStmt(); in isUnusedResultAWarning()
2299 if (const Expr *E = dyn_cast<Expr>(Label->getSubStmt())) in isUnusedResultAWarning()
3055 Finder.Visit(cast<StmtExpr>(this)->getSubStmt()); in HasSideEffects()
/external/clang/lib/CodeGen/
DCGStmt.cpp323 LastStmt = LS->getSubStmt(); in EmitCompoundStmtWithoutScope()
485 EmitStmt(S.getSubStmt()); in EmitLabelStmt()
489 const Stmt *SubStmt = S.getSubStmt(); in EmitAttributedStmt()
1060 EmitStmt(S.getSubStmt()); in EmitCaseStmtRange()
1134 EmitStmt(S.getSubStmt()); in EmitCaseStmt()
1152 isa<BreakStmt>(S.getSubStmt())) { in EmitCaseStmt()
1187 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
1203 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
1207 EmitStmt(CurCase->getSubStmt()); in EmitCaseStmt()
1217 EmitStmt(S.getSubStmt()); in EmitDefaultStmt()
[all …]
DCodeGenPGO.cpp305 Visit(S->getSubStmt()); in VisitLabelStmt()
479 Visit(S->getSubStmt()); in VisitSwitchCase()
DCoverageMappingGen.cpp606 Visit(S->getSubStmt()); in VisitLabelStmt()
793 Visit(S->getSubStmt()); in VisitSwitchCase()
DCGExprComplex.cpp388 Address RetAlloca = CGF.EmitCompoundStmt(*E->getSubStmt(), true); in VisitStmtExpr()
DCGExprAgg.cpp777 CGF.EmitCompoundStmt(*E->getSubStmt(), true, Dest); in VisitStmtExpr()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp392 Next = CS->getSubStmt(); in BuildScopeInformation()
394 Next = DS->getSubStmt(); in BuildScopeInformation()
396 Next = LS->getSubStmt(); in BuildScopeInformation()
478 BuildScopeInformation(AS->getSubStmt(), in BuildScopeInformation()
DAnalysisBasedWarnings.cpp965 if (SW && SW->getSubStmt() == B.getLabel() && P->begin() == P->end()) in checkFallThroughIntoBlock()
969 if (L && L->getSubStmt() == B.getLabel() && P->begin() == P->end()) in checkFallThroughIntoBlock()
1061 if (!isa<SwitchCase>(SW->getSubStmt())) in getLastStmt()
1062 return SW->getSubStmt(); in getLastStmt()
DTreeTransform.h6022 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt()
6034 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformDefaultStmt()
6046 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformLabelStmt()
6091 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformAttributedStmt()
6095 if (SubStmt.get() == S->getSubStmt() && !AttrsChanged) in TransformAttributedStmt()
6706 StmtResult Body = getDerived().TransformStmt(S->getSubStmt()); in TransformObjCAutoreleasePoolStmt()
6712 Body.get() == S->getSubStmt()) in TransformObjCAutoreleasePoolStmt()
6934 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt()); in TransformMSDependentExistsStmt()
8704 = getDerived().TransformCompoundStmt(E->getSubStmt(), true); in TransformStmtExpr()
8711 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/Analysis/
DCFG.cpp2307 addStmt(L->getSubStmt()); in VisitLabelStmt()
2668 return addStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
3050 return VisitCompoundStmt(SE->getSubStmt()); in VisitStmtExpr()
3195 if (Stmt *Sub = CS->getSubStmt()) { in VisitCaseStmt()
3215 Sub = CS->getSubStmt(); in VisitCaseStmt()
3254 if (Terminator->getSubStmt()) in VisitDefaultStmt()
3255 addStmt(Terminator->getSubStmt()); in VisitDefaultStmt()
4195 const CompoundStmt *Sub = SE->getSubStmt(); in print_elem()
4200 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()
808 Writer.AddStmt(E->getSubStmt()); in VisitStmtExpr()
1096 Writer.AddStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
1176 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.cpp1287 if (SE->getSubStmt()->body_empty()) { in Visit()
1294 if (Expr *LastExpr = dyn_cast<Expr>(*SE->getSubStmt()->body_rbegin())) { in Visit()

12