Home
last modified time | relevance | path

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

/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp102 if (!S->getSubStmt()) in VisitObjCAutoreleasePoolStmt()
104 return Visit(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
125 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
DTransforms.cpp207 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
252 S = Label->getSubStmt(); in mark()
/external/clang/include/clang/AST/
DStmt.h545 Stmt *getSubStmt();
546 const Stmt *getSubStmt() const { in getSubStmt() function
547 return const_cast<SwitchCase*>(this)->getSubStmt(); in getSubStmt()
590 Stmt *getSubStmt() { return SubExprs[SUBSTMT]; } in getSubStmt() function
598 const Stmt *getSubStmt() const { return SubExprs[SUBSTMT]; } in getSubStmt() function
608 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getSourceRange()
611 return SourceRange(CaseLoc, CS->getSubStmt()->getLocEnd()); in getSourceRange()
636 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
637 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
677 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
[all …]
DStmtObjC.h359 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
360 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
DExpr.h3053 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); } in getSubStmt() function
3054 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); } in getSubStmt() function
/external/clang/lib/CodeGen/
DCGStmt.cpp223 LastStmt = LS->getSubStmt(); in EmitCompoundStmt()
326 EmitStmt(S.getSubStmt()); in EmitLabelStmt()
827 EmitStmt(S.getSubStmt()); in EmitCaseStmtRange()
883 if (isa<BreakStmt>(S.getSubStmt())) { in EmitCaseStmt()
914 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
922 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
926 EmitStmt(CurCase->getSubStmt()); in EmitCaseStmt()
934 EmitStmt(S.getSubStmt()); in EmitDefaultStmt()
974 return CollectStatementsForCase(SC->getSubStmt(), 0, FoundCase, in CollectStatementsForCase()
979 return CollectStatementsForCase(SC->getSubStmt(), Case, FoundCase, in CollectStatementsForCase()
DCGExprComplex.cpp337 return CGF.EmitCompoundStmt(*E->getSubStmt(), true).getComplexVal(); in VisitStmtExpr()
DCGExprAgg.cpp398 CGF.EmitCompoundStmt(*E->getSubStmt(), true, Dest); in VisitStmtExpr()
DCGObjC.cpp2110 const Stmt *subStmt = ARPS.getSubStmt(); in EmitObjCAutoreleasePoolStmt()
DCGExprScalar.cpp1226 return CGF.EmitCompoundStmt(*E->getSubStmt(), !E->getType()->isVoidType()) in VisitStmtExpr()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp343 Next = CS->getSubStmt(); in BuildScopeInformation()
345 Next = DS->getSubStmt(); in BuildScopeInformation()
347 Next = LS->getSubStmt(); in BuildScopeInformation()
452 BuildScopeInformation(AS->getSubStmt(), (newParentScope = Scopes.size()-1)); in BuildScopeInformation()
DTreeTransform.h4930 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt()
4942 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformDefaultStmt()
4954 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformLabelStmt()
5495 StmtResult Body = getDerived().TransformStmt(S->getSubStmt()); in TransformObjCAutoreleasePoolStmt()
5501 Body.get() == S->getSubStmt()) in TransformObjCAutoreleasePoolStmt()
6430 = getDerived().TransformCompoundStmt(E->getSubStmt(), true); in TransformStmtExpr()
6435 SubStmt.get() == E->getSubStmt()) in TransformStmtExpr()
DSemaExprObjC.cpp1607 return Visit(e->getSubStmt()->body_back()); in VisitStmtExpr()
DSemaStmt.cpp97 return DiagnoseUnusedExprResult(Label->getSubStmt()); in DiagnoseUnusedExprResult()
DSemaExpr.cpp8008 LastStmt = Label->getSubStmt(); in ActOnStmtExpr()
/external/clang/include/clang/Analysis/Visitors/
DCFGStmtVisitor.h151 CompoundStmt* CS = cast<StmtExpr>(S)->getSubStmt(); in VisitChildren()
/external/clang/lib/AST/
DStmtPrinter.cpp159 PrintStmt(Node->getSubStmt(), 0); in VisitCaseStmt()
164 PrintStmt(Node->getSubStmt(), 0); in VisitDefaultStmt()
169 PrintStmt(Node->getSubStmt(), 0); in VisitLabelStmt()
454 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(Node->getSubStmt())); in VisitObjCAutoreleasePoolStmt()
902 PrintRawCompoundStmt(E->getSubStmt()); in VisitStmtExpr()
DStmt.cpp681 Stmt *SwitchCase::getSubStmt() { in getSubStmt() function in SwitchCase
683 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
684 return cast<DefaultStmt>(this)->getSubStmt(); in getSubStmt()
DExprClassification.cpp339 const CompoundStmt *S = cast<StmtExpr>(E)->getSubStmt(); in ClassifyInternal()
DExpr.cpp1589 const CompoundStmt *CS = cast<StmtExpr>(this)->getSubStmt(); in isUnusedResultAWarning()
1594 if (const Expr *E = dyn_cast<Expr>(Label->getSubStmt())) in isUnusedResultAWarning()
/external/clang/lib/Analysis/
DCFG.cpp728 SI = LS->getSubStmt(); in addLocalScopeForStmt()
738 S = LS->getSubStmt(); in addLocalScopeForStmt()
1553 addStmt(L->getSubStmt()); in VisitLabelStmt()
2218 return VisitCompoundStmt(SE->getSubStmt()); in VisitStmtExpr()
2362 if (Stmt *Sub = CS->getSubStmt()) { in VisitCaseStmt()
2382 Sub = CS->getSubStmt(); in VisitCaseStmt()
2422 if (Terminator->getSubStmt()) in VisitDefaultStmt()
2423 addStmt(Terminator->getSubStmt()); in VisitDefaultStmt()
3070 const CompoundStmt* C = SE->getSubStmt(); in PopulateBlkExprMap()
3368 CompoundStmt* Sub = SE->getSubStmt(); in print_elem()
[all …]
/external/clang/lib/Serialization/
DASTWriterStmt.cpp86 Writer.AddStmt(S->getSubStmt()); in VisitCaseStmt()
95 Writer.AddStmt(S->getSubStmt()); in VisitDefaultStmt()
104 Writer.AddStmt(S->getSubStmt()); in VisitLabelStmt()
672 Writer.AddStmt(E->getSubStmt()); in VisitStmtExpr()
870 Writer.AddStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
/external/clang/include/clang/Analysis/
DProgramPoint.h177 const Stmt *getSubStmt() const { return (const Stmt*) getData2(); } in getSubStmt() function
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp761 if (SE->getSubStmt()->body_empty()) { in Visit()
769 if (Expr* LastExpr = dyn_cast<Expr>(*SE->getSubStmt()->body_rbegin())) { in Visit()