/external/clang/include/clang/AST/ |
D | StmtCXX.h | 245 Stmt *SubStmt; variable 254 CompoundStmt *SubStmt) in MSDependentExistsStmt() argument 258 SubStmt(reinterpret_cast<Stmt *>(SubStmt)) { } in MSDependentExistsStmt() 281 return reinterpret_cast<CompoundStmt *>(SubStmt); in getSubStmt() 285 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() 288 return child_range(&SubStmt, &SubStmt+1); in children() 300 enum SubStmt { enum 310 Stmt *SubStmts[SubStmt::FirstParamMove]; 332 return SubStmts[SubStmt::Body]; in getBody() 335 Stmt *getPromiseDeclStmt() const { return SubStmts[SubStmt::Promise]; } in getPromiseDeclStmt() [all …]
|
D | StmtObjC.h | 347 Stmt *SubStmt; variable 351 : Stmt(ObjCAutoreleasePoolStmtClass), AtLoc(atLoc), SubStmt(subStmt) {} in ObjCAutoreleasePoolStmt() 356 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() 357 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() 358 void setSubStmt(Stmt *S) { SubStmt = S; } in setSubStmt() 361 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() 370 child_range children() { return child_range(&SubStmt, &SubStmt + 1); } in children()
|
D | EvaluatedExprVisitor.h | 101 for (auto *SubStmt : S->children()) in VisitStmt() 102 if (SubStmt) in VisitStmt() 103 this->Visit(SubStmt); in VisitStmt()
|
D | Stmt.h | 751 Stmt* SubStmt; variable 754 SwitchCase(DefaultStmtClass, DL, CL), SubStmt(substmt) {} in DefaultStmt() 760 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() 761 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() 762 void setSubStmt(Stmt *S) { SubStmt = S; } in setSubStmt() 770 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() 777 child_range children() { return child_range(&SubStmt, &SubStmt+1); } in children() 792 Stmt *SubStmt; variable 796 : Stmt(LabelStmtClass), IdentLoc(IL), TheDecl(D), SubStmt(substmt) { in LabelStmt() 809 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() [all …]
|
D | Expr.h | 3381 Stmt *SubStmt; variable 3391 SubStmt(substmt), LParenLoc(lp), RParenLoc(rp) { } in StmtExpr() 3396 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); } in getSubStmt() 3397 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); } in getSubStmt() 3398 void setSubStmt(CompoundStmt *S) { SubStmt = S; } in setSubStmt() 3413 child_range children() { return child_range(&SubStmt, &SubStmt+1); } in children()
|
D | RecursiveASTVisitor.h | 1975 for (Stmt *SubStmt : S->children()) { \ 1976 TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(SubStmt); \ 2133 for (Stmt *SubStmt : S->children()) { 2134 TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(SubStmt);
|
/external/clang/lib/AST/ |
D | ParentMap.cpp | 41 for (Stmt *SubStmt : S->children()) in BuildParentMap() 42 M[SubStmt] = nullptr; in BuildParentMap() 87 for (Stmt *SubStmt : S->children()) { in BuildParentMap() 88 if (SubStmt) { in BuildParentMap() 89 M[SubStmt] = S; in BuildParentMap() 90 BuildParentMap(M, SubStmt, OVMode); in BuildParentMap()
|
D | StmtProfile.cpp | 74 for (const Stmt *SubStmt : S->children()) { in VisitStmt() local 75 if (SubStmt) in VisitStmt() 76 Visit(SubStmt); in VisitStmt()
|
D | Stmt.cpp | 315 Stmt *SubStmt) { in Create() argument 319 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); in Create()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 577 StmtResult SubStmt; in ParseLabeledStatement() local 597 SubStmt = ParseStatementOrDeclarationAfterAttributes( in ParseLabeledStatement() 600 if (!TempAttrs.empty() && !SubStmt.isInvalid()) in ParseLabeledStatement() 601 SubStmt = Actions.ProcessStmtAttributes( in ParseLabeledStatement() 602 SubStmt.get(), TempAttrs.getList(), TempAttrs.Range); in ParseLabeledStatement() 609 if (!SubStmt.isInvalid() && !SubStmt.isUsable()) in ParseLabeledStatement() 610 SubStmt = ParseStatement(); in ParseLabeledStatement() 613 if (SubStmt.isInvalid()) in ParseLabeledStatement() 614 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement() 624 SubStmt.get()); in ParseLabeledStatement() [all …]
|
/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 221 for (const Stmt *SubStmt : Head->children()) in RunAnalysis() local 222 if (SubStmt) in RunAnalysis() 223 WorkList.push_back(SubStmt); in RunAnalysis()
|
D | CallGraph.cpp | 86 for (Stmt *SubStmt : S->children()) in VisitChildren() 87 if (SubStmt) in VisitChildren() 88 this->Visit(SubStmt); in VisitChildren()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UndefBranchChecker.cpp | 41 for (const Stmt *SubStmt : Ex->children()) in FindExpr() local 42 if (const Expr *ExI = dyn_cast_or_null<Expr>(SubStmt)) in FindExpr()
|
D | ObjCUnusedIVarsChecker.cpp | 60 for (const Stmt *SubStmt : S->children()) in Scan() local 61 Scan(M, SubStmt); in Scan()
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 543 for (Stmt *SubStmt : S->children()) { in BuildScopeInformation() 544 if (!SubStmt) in BuildScopeInformation() 556 if (CaseStmt *CS = dyn_cast<CaseStmt>(SubStmt)) in BuildScopeInformation() 558 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SubStmt)) in BuildScopeInformation() 560 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation() 565 LabelAndGotoScopes[SubStmt] = ParentScope; in BuildScopeInformation() 566 SubStmt = Next; in BuildScopeInformation() 570 BuildScopeInformation(SubStmt, ParentScope); in BuildScopeInformation()
|
D | SemaStmt.cpp | 438 void Sema::ActOnCaseStmtBody(Stmt *caseStmt, Stmt *SubStmt) { in ActOnCaseStmtBody() argument 439 DiagnoseUnusedExprResult(SubStmt); in ActOnCaseStmtBody() 442 CS->setSubStmt(SubStmt); in ActOnCaseStmtBody() 447 Stmt *SubStmt, Scope *CurScope) { in ActOnDefaultStmt() argument 448 DiagnoseUnusedExprResult(SubStmt); in ActOnDefaultStmt() 452 return SubStmt; in ActOnDefaultStmt() 455 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt() 462 SourceLocation ColonLoc, Stmt *SubStmt) { in ActOnLabelStmt() argument 467 return SubStmt; in ActOnLabelStmt() 471 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt() [all …]
|
D | TreeTransform.h | 1148 Stmt *SubStmt) { in RebuildDefaultStmt() argument 1149 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt() 1158 SourceLocation ColonLoc, Stmt *SubStmt) { in RebuildLabelStmt() argument 1159 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt() 1168 Stmt *SubStmt) { in RebuildAttributedStmt() argument 1169 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt() 2311 Stmt *SubStmt, in RebuildStmtExpr() argument 2313 return getSema().ActOnStmtExpr(LParenLoc, SubStmt, RParenLoc); in RebuildStmtExpr() 6186 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt() local 6187 if (SubStmt.isInvalid()) in TransformCaseStmt() [all …]
|
D | SemaExceptionSpec.cpp | 873 for (const Stmt *SubStmt : E->children()) { in canSubExprsThrow() local 874 R = mergeCanThrow(R, S.canThrow(cast<Expr>(SubStmt))); in canSubExprsThrow()
|
/external/clang/lib/Index/ |
D | IndexBody.cpp | 322 for (Stmt *SubStmt : Form->children()) { in TraverseInitListExpr() 323 if (!TraverseStmt(SubStmt, Q)) in TraverseInitListExpr()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 1716 for (Stmt *SubStmt : S->children()) in WarnAboutReturnGotoStmts() 1717 if (SubStmt) in WarnAboutReturnGotoStmts() 1718 WarnAboutReturnGotoStmts(SubStmt); in WarnAboutReturnGotoStmts() 1729 for (Stmt *SubStmt : S->children()) in HasReturnStmts() 1730 if (SubStmt) in HasReturnStmts() 1731 HasReturnStmts(SubStmt, hasReturns); in HasReturnStmts() 1739 for (Stmt *SubStmt : S->children()) in RewriteTryReturnStmts() 1740 if (SubStmt) { in RewriteTryReturnStmts() 1741 RewriteTryReturnStmts(SubStmt); in RewriteTryReturnStmts() 1760 for (Stmt *SubStmt : S->children()) in RewriteSyncReturnStmts() [all …]
|
D | RewriteModernObjC.cpp | 1909 for (Stmt *SubStmt : S->children()) in WarnAboutReturnGotoStmts() 1910 if (SubStmt) in WarnAboutReturnGotoStmts() 1911 WarnAboutReturnGotoStmts(SubStmt); in WarnAboutReturnGotoStmts() 4468 for (Stmt *SubStmt : S->children()) in GetBlockDeclRefExprs() 4469 if (SubStmt) { in GetBlockDeclRefExprs() 4470 if (BlockExpr *CBE = dyn_cast<BlockExpr>(SubStmt)) in GetBlockDeclRefExprs() 4473 GetBlockDeclRefExprs(SubStmt); in GetBlockDeclRefExprs() 4486 for (Stmt *SubStmt : S->children()) in GetInnerBlockDeclRefExprs() 4487 if (SubStmt) { in GetInnerBlockDeclRefExprs() 4488 if (BlockExpr *CBE = dyn_cast<BlockExpr>(SubStmt)) { in GetInnerBlockDeclRefExprs() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 519 const Stmt *SubStmt = S.getSubStmt(); in EmitAttributedStmt() local 520 switch (SubStmt->getStmtClass()) { in EmitAttributedStmt() 522 EmitDoStmt(cast<DoStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt() 525 EmitForStmt(cast<ForStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt() 528 EmitWhileStmt(cast<WhileStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt() 531 EmitCXXForRangeStmt(cast<CXXForRangeStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt() 534 EmitStmt(SubStmt); in EmitAttributedStmt()
|
D | CGDecl.cpp | 589 for (const Stmt *SubStmt : s->children()) in isAccessedBy() local 591 if (SubStmt && isAccessedBy(var, SubStmt)) in isAccessedBy() 1155 for (const Stmt *SubStmt : e->children()) in isCapturedBy() local 1156 if (isCapturedBy(var, cast<Expr>(SubStmt))) in isCapturedBy()
|
D | CodeGenFunction.cpp | 1115 for (const Stmt *SubStmt : S->children()) in ContainsLabel() local 1116 if (ContainsLabel(SubStmt, IgnoreCaseStmts)) in ContainsLabel() 1139 for (const Stmt *SubStmt : S->children()) in containsBreak() local 1140 if (containsBreak(SubStmt)) in containsBreak()
|
/external/clang/include/clang/Analysis/ |
D | ProgramPoint.h | 289 const Stmt *SubStmt = nullptr) 290 : StmtPoint(S, SubStmt, PreStmtKind, L, tag) {} in StmtPoint() argument
|