Home
last modified time | relevance | path

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

123

/external/llvm-project/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp140 if (!S->getSubStmt()) in VisitObjCAutoreleasePoolStmt()
142 return Visit(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
154 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
DTransforms.cpp247 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
291 S = Label->getSubStmt(); in mark()
/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/llvm-project/clang/lib/CodeGen/
DVarBypassDetector.cpp118 Next = SC->getSubStmt(); in BuildScopeInformation()
120 Next = LS->getSubStmt(); in BuildScopeInformation()
DCGStmt.cpp451 ExprResult = LS->getSubStmt(); in EmitCompoundStmtWithoutScope()
455 ExprResult = AS->getSubStmt(); in EmitCompoundStmtWithoutScope()
632 EmitStmt(S.getSubStmt()); in EmitLabelStmt()
643 EmitStmt(S.getSubStmt(), S.getAttrs()); in EmitAttributedStmt()
1292 EmitStmt(S.getSubStmt()); in EmitCaseStmtRange()
1373 EmitStmt(S.getSubStmt()); in EmitCaseStmt()
1393 isa<BreakStmt>(S.getSubStmt())) { in EmitCaseStmt()
1432 const CaseStmt *NextCase = dyn_cast<CaseStmt>(S.getSubStmt()); in EmitCaseStmt()
1452 NextCase = dyn_cast<CaseStmt>(CurCase->getSubStmt()); in EmitCaseStmt()
1456 EmitStmt(CurCase->getSubStmt()); in EmitCaseStmt()
[all …]
/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()
/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()
/external/llvm-project/clang/include/clang/AST/
DStmt.h1550 inline Stmt *getSubStmt();
1551 const Stmt *getSubStmt() const { in getSubStmt() function
1552 return const_cast<SwitchCase *>(this)->getSubStmt(); in getSubStmt()
1685 Stmt *getSubStmt() { return getTrailingObjects<Stmt *>()[subStmtOffset()]; } in getSubStmt() function
1686 const Stmt *getSubStmt() const { in getSubStmt() function
1698 while (const auto *CS2 = dyn_cast<CaseStmt>(CS->getSubStmt())) in getEndLoc()
1701 return CS->getSubStmt()->getEndLoc(); in getEndLoc()
1733 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
1734 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
1765 Stmt *SwitchCase::getSubStmt() { in getSubStmt() function
[all …]
DStmtObjC.h379 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() function
380 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() function
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DSourceExtraction.cpp46 return isSemicolonRequiredAfter(Case->getSubStmt()); in isSemicolonRequiredAfter()
/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()
/external/llvm-project/clang/lib/AST/
DStmt.cpp202 S = AS->getSubStmt(); in IgnoreContainers()
221 S = LS->getSubStmt(); in stripLabelLikeStatements()
223 S = SC->getSubStmt(); in stripLabelLikeStatements()
225 S = AS->getSubStmt(); in stripLabelLikeStatements()
402 S = LS->getSubStmt(); in getExprStmt()
404 S = AS->getSubStmt(); in getExprStmt()
DStmtPrinter.cpp217 PrintStmt(Node->getSubStmt(), 0); in VisitCaseStmt()
222 PrintStmt(Node->getSubStmt(), 0); in VisitDefaultStmt()
227 PrintStmt(Node->getSubStmt(), 0); in VisitLabelStmt()
235 PrintStmt(Node->getSubStmt(), 0); in VisitAttributedStmt()
373 PrintRawCompoundStmt(Node->getSubStmt()); in VisitMSDependentExistsStmt()
560 PrintRawCompoundStmt(dyn_cast<CompoundStmt>(Node->getSubStmt())); in VisitObjCAutoreleasePoolStmt()
1510 PrintRawCompoundStmt(E->getSubStmt()); in VisitStmtExpr()
/external/llvm-project/clang/lib/Sema/
DJumpDiagnostics.cpp534 BuildScopeInformation(AS->getSubStmt(), NewParentScope); in BuildScopeInformation()
612 Next = SC->getSubStmt(); in BuildScopeInformation()
614 Next = LS->getSubStmt(); in BuildScopeInformation()
DSemaAvailability.cpp597 return cast<SwitchCase>(Parent)->getSubStmt() == S; in isBodyLikeChildStmt()
693 bool TraverseCaseStmt(CaseStmt *CS) { return TraverseStmt(CS->getSubStmt()); } in TraverseCaseStmt()
/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()
/external/llvm-project/clang/lib/Serialization/
DASTWriterStmt.cpp102 Record.AddStmt(S->getSubStmt()); in VisitCaseStmt()
112 Record.AddStmt(S->getSubStmt()); in VisitDefaultStmt()
119 Record.AddStmt(S->getSubStmt()); in VisitLabelStmt()
128 Record.AddStmt(S->getSubStmt()); in VisitAttributedStmt()
1166 Record.AddStmt(E->getSubStmt()); in VisitStmtExpr()
1464 Record.AddStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
1556 Record.AddStmt(S->getSubStmt()); in VisitMSDependentExistsStmt()
/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()

123