Home
last modified time | relevance | path

Searched refs:getSubStmt (Results 1 – 25 of 36) 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.h675 Stmt *getSubStmt();
676 const Stmt *getSubStmt() const { in getSubStmt() function
677 return const_cast<SwitchCase*>(this)->getSubStmt(); in getSubStmt()
716 Stmt *getSubStmt() { return SubExprs[SUBSTMT]; } in getSubStmt() function
724 const Stmt *getSubStmt() const { return SubExprs[SUBSTMT]; } in getSubStmt() function
734 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getLocEnd()
737 return CS->getSubStmt()->getLocEnd(); in getLocEnd()
760 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
761 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
809 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.h280 CompoundStmt *getSubStmt() const { in getSubStmt() function
/external/clang/lib/CodeGen/
DCGStmt.cpp353 LastStmt = LS->getSubStmt(); in EmitCompoundStmtWithoutScope()
515 EmitStmt(S.getSubStmt()); in EmitLabelStmt()
519 const Stmt *SubStmt = S.getSubStmt(); in EmitAttributedStmt()
1113 EmitStmt(S.getSubStmt()); in EmitCaseStmtRange()
1187 EmitStmt(S.getSubStmt()); in EmitCaseStmt()
1205 isa<BreakStmt>(S.getSubStmt())) { in EmitCaseStmt()
1240 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
1256 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
1260 EmitStmt(CurCase->getSubStmt()); in EmitCaseStmt()
1270 EmitStmt(S.getSubStmt()); in EmitDefaultStmt()
[all …]
DCodeGenPGO.cpp310 Visit(S->getSubStmt()); in VisitLabelStmt()
485 Visit(S->getSubStmt()); in VisitSwitchCase()
DCoverageMappingGen.cpp647 Visit(S->getSubStmt()); in VisitLabelStmt()
836 Visit(S->getSubStmt()); in VisitSwitchCase()
DCGExprComplex.cpp388 Address RetAlloca = CGF.EmitCompoundStmt(*E->getSubStmt(), true); in VisitStmtExpr()
DCGExprAgg.cpp779 CGF.EmitCompoundStmt(*E->getSubStmt(), true, Dest); in VisitStmtExpr()
/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()
856 Stmt *SwitchCase::getSubStmt() { in getSubStmt() function in SwitchCase
858 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
859 return cast<DefaultStmt>(this)->getSubStmt(); in getSubStmt()
DStmtPrinter.cpp159 PrintStmt(Node->getSubStmt(), 0); in VisitCaseStmt()
164 PrintStmt(Node->getSubStmt(), 0); in VisitDefaultStmt()
169 PrintStmt(Node->getSubStmt(), 0); in VisitLabelStmt()
177 PrintStmt(Node->getSubStmt(), 0); in VisitAttributedStmt()
339 PrintRawCompoundStmt(Node->getSubStmt()); in VisitMSDependentExistsStmt()
510 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(Node->getSubStmt())); in VisitObjCAutoreleasePoolStmt()
1622 PrintRawCompoundStmt(E->getSubStmt()); in VisitStmtExpr()
DExprClassification.cpp376 const CompoundStmt *S = cast<StmtExpr>(E)->getSubStmt(); in ClassifyInternal()
DASTImporter.cpp4938 Stmt *ToSubStmt = Importer.Import(S->getSubStmt()); in VisitDefaultStmt()
4939 if (!ToSubStmt && S->getSubStmt()) in VisitDefaultStmt()
4951 Stmt *ToSubStmt = Importer.Import(S->getSubStmt()); in VisitLabelStmt()
4952 if (!ToSubStmt && S->getSubStmt()) in VisitLabelStmt()
4971 Stmt *ToSubStmt = Importer.Import(S->getSubStmt()); in VisitAttributedStmt()
4972 if (!ToSubStmt && S->getSubStmt()) in VisitAttributedStmt()
5323 Stmt *ToSubStmt = Importer.Import(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
5324 if (!ToSubStmt && S->getSubStmt()) in VisitObjCAutoreleasePoolStmt()
5598 Importer.Import(E->getSubStmt())); in VisitStmtExpr()
5599 if (!ToSubStmt && E->getSubStmt()) in VisitStmtExpr()
DExpr.cpp2141 const CompoundStmt *CS = cast<StmtExpr>(this)->getSubStmt(); in isUnusedResultAWarning()
2146 if (const Expr *E = dyn_cast<Expr>(Label->getSubStmt())) in isUnusedResultAWarning()
2901 Finder.Visit(cast<StmtExpr>(this)->getSubStmt()); in HasSideEffects()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp494 BuildScopeInformation(AS->getSubStmt(), NewParentScope); in BuildScopeInformation()
557 Next = CS->getSubStmt(); in BuildScopeInformation()
559 Next = DS->getSubStmt(); in BuildScopeInformation()
561 Next = LS->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.h6186 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt()
6198 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformDefaultStmt()
6210 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformLabelStmt()
6255 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformAttributedStmt()
6259 if (SubStmt.get() == S->getSubStmt() && !AttrsChanged) in TransformAttributedStmt()
6810 StmtResult Body = getDerived().TransformStmt(S->getSubStmt()); in TransformObjCAutoreleasePoolStmt()
6816 Body.get() == S->getSubStmt()) in TransformObjCAutoreleasePoolStmt()
7044 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt()); in TransformMSDependentExistsStmt()
9011 = getDerived().TransformCompoundStmt(E->getSubStmt(), true); in TransformStmtExpr()
9018 SubStmt.get() == E->getSubStmt()) { in TransformStmtExpr()
/external/clang/lib/Analysis/
DCFG.cpp2321 addStmt(L->getSubStmt()); in VisitLabelStmt()
2682 return addStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
3064 return VisitCompoundStmt(SE->getSubStmt()); in VisitStmtExpr()
3222 if (Stmt *Sub = CS->getSubStmt()) { in VisitCaseStmt()
3242 Sub = CS->getSubStmt(); in VisitCaseStmt()
3281 if (Terminator->getSubStmt()) in VisitDefaultStmt()
3282 addStmt(Terminator->getSubStmt()); in VisitDefaultStmt()
4227 const CompoundStmt *Sub = SE->getSubStmt(); in print_elem()
4232 Helper.handledStmt(*SE->getSubStmt()->body_rbegin(),OS); in print_elem()
DLiveVariables.cpp270 S = cast<StmtExpr>(S)->getSubStmt(); in Visit()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp101 Record.AddStmt(S->getSubStmt()); in VisitCaseStmt()
108 Record.AddStmt(S->getSubStmt()); in VisitDefaultStmt()
115 Record.AddStmt(S->getSubStmt()); in VisitLabelStmt()
124 Record.AddStmt(S->getSubStmt()); in VisitAttributedStmt()
820 Record.AddStmt(E->getSubStmt()); in VisitStmtExpr()
1108 Record.AddStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
1189 Record.AddStmt(S->getSubStmt()); in VisitMSDependentExistsStmt()
/external/v8/tools/gcmole/
Dgcmole.cc1080 return VisitStmt(stmt->getSubStmt(), after_lhs); in DECL_VISIT_STMT()
1085 return VisitStmt(stmt->getSubStmt(), in); in DECL_VISIT_STMT()
/external/clang/include/clang/Analysis/
DProgramPoint.h292 const Stmt *getSubStmt() const { return (const Stmt*) getData2(); } in getSubStmt() function
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1303 if (SE->getSubStmt()->body_empty()) { in Visit()
1310 if (Expr *LastExpr = dyn_cast<Expr>(*SE->getSubStmt()->body_rbegin())) { in Visit()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1697 return Node.getSubStmt();

12