Home
last modified time | relevance | path

Searched refs:getSubStmt (Results 1 – 25 of 33) 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.cpp226 LastStmt = LS->getSubStmt(); in EmitCompoundStmtWithoutScope()
387 EmitStmt(S.getSubStmt()); in EmitLabelStmt()
391 EmitStmt(S.getSubStmt()); in EmitAttributedStmt()
914 EmitStmt(S.getSubStmt()); in EmitCaseStmtRange()
965 EmitStmt(S.getSubStmt()); in EmitCaseStmt()
981 isa<BreakStmt>(S.getSubStmt())) { in EmitCaseStmt()
1012 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
1020 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
1024 EmitStmt(CurCase->getSubStmt()); in EmitCaseStmt()
1032 EmitStmt(S.getSubStmt()); in EmitDefaultStmt()
[all …]
DCGExprComplex.cpp378 llvm::Value *RetAlloca = CGF.EmitCompoundStmt(*E->getSubStmt(), true); in VisitStmtExpr()
DCGExprAgg.cpp742 CGF.EmitCompoundStmt(*E->getSubStmt(), true, Dest); in VisitStmtExpr()
DCGDecl.cpp1002 const CompoundStmt *CS = SE->getSubStmt(); in isCapturedBy()
/external/clang/include/clang/AST/
DStmt.h648 Stmt *getSubStmt();
649 const Stmt *getSubStmt() const { in getSubStmt() function
650 return const_cast<SwitchCase*>(this)->getSubStmt(); in getSubStmt()
689 Stmt *getSubStmt() { return SubExprs[SUBSTMT]; } in getSubStmt() function
697 const Stmt *getSubStmt() const { return SubExprs[SUBSTMT]; } in getSubStmt() function
707 while (const CaseStmt *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getLocEnd()
710 return CS->getSubStmt()->getLocEnd(); in getLocEnd()
733 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
734 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
778 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.h3376 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); } in getSubStmt() function
3377 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); } in getSubStmt() function
/external/clang/lib/Sema/
DJumpDiagnostics.cpp382 Next = CS->getSubStmt(); in BuildScopeInformation()
384 Next = DS->getSubStmt(); in BuildScopeInformation()
386 Next = LS->getSubStmt(); in BuildScopeInformation()
467 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()
847 if (!isa<SwitchCase>(SW->getSubStmt())) in getLastStmt()
848 return SW->getSubStmt(); in getLastStmt()
DTreeTransform.h5311 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt()
5323 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformDefaultStmt()
5335 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformLabelStmt()
5354 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformAttributedStmt()
5359 if (SubStmt.get() == S->getSubStmt() /* && attrs are the same */) in TransformAttributedStmt()
5920 StmtResult Body = getDerived().TransformStmt(S->getSubStmt()); in TransformObjCAutoreleasePoolStmt()
5926 Body.get() == S->getSubStmt()) in TransformObjCAutoreleasePoolStmt()
6157 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt()); in TransformMSDependentExistsStmt()
7074 = getDerived().TransformCompoundStmt(E->getSubStmt(), true); in TransformStmtExpr()
7081 SubStmt.get() == E->getSubStmt()) { in TransformStmtExpr()
DSemaLambda.cpp264 if (Expr *last = dyn_cast_or_null<Expr>(SE->getSubStmt()->body_back())) in findEnumForBlockReturn()
/external/clang/lib/AST/
DStmt.cpp120 S = LS->getSubStmt(); in stripLabelLikeStatements()
122 S = SC->getSubStmt(); in stripLabelLikeStatements()
124 S = AS->getSubStmt(); in stripLabelLikeStatements()
911 Stmt *SwitchCase::getSubStmt() { in getSubStmt() function in SwitchCase
913 return cast<CaseStmt>(this)->getSubStmt(); in getSubStmt()
914 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()
512 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(Node->getSubStmt())); in VisitObjCAutoreleasePoolStmt()
1056 PrintRawCompoundStmt(E->getSubStmt()); in VisitStmtExpr()
DExprClassification.cpp369 const CompoundStmt *S = cast<StmtExpr>(E)->getSubStmt(); in ClassifyInternal()
DExpr.cpp2137 const CompoundStmt *CS = cast<StmtExpr>(this)->getSubStmt(); in isUnusedResultAWarning()
2142 if (const Expr *E = dyn_cast<Expr>(Label->getSubStmt())) in isUnusedResultAWarning()
/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()
763 Writer.AddStmt(E->getSubStmt()); in VisitStmtExpr()
1042 Writer.AddStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
1121 Writer.AddStmt(S->getSubStmt()); in VisitMSDependentExistsStmt()
/external/clang/lib/Analysis/
DCFG.cpp1889 addStmt(L->getSubStmt()); in VisitLabelStmt()
2237 return addStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
2619 return VisitCompoundStmt(SE->getSubStmt()); in VisitStmtExpr()
2764 if (Stmt *Sub = CS->getSubStmt()) { in VisitCaseStmt()
2784 Sub = CS->getSubStmt(); in VisitCaseStmt()
2824 if (Terminator->getSubStmt()) in VisitDefaultStmt()
2825 addStmt(Terminator->getSubStmt()); in VisitDefaultStmt()
3669 const CompoundStmt *Sub = SE->getSubStmt(); in print_elem()
3673 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/chromium_org/v8/tools/gcmole/
Dgcmole.cc1065 return VisitStmt(stmt->getSubStmt(), after_lhs); in DECL_VISIT_STMT()
1070 return VisitStmt(stmt->getSubStmt(), in); in DECL_VISIT_STMT()
/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.cpp1092 if (SE->getSubStmt()->body_empty()) { in Visit()
1099 if (Expr *LastExpr = dyn_cast<Expr>(*SE->getSubStmt()->body_rbegin())) { in Visit()

12