/external/clang/include/clang/AST/ |
D | StmtCXX.h | 239 Stmt *SubStmt; variable 248 CompoundStmt *SubStmt) in MSDependentExistsStmt() argument 252 SubStmt(reinterpret_cast<Stmt *>(SubStmt)) { } in MSDependentExistsStmt() 275 return reinterpret_cast<CompoundStmt *>(SubStmt); in getSubStmt() 279 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() 282 return child_range(&SubStmt, &SubStmt+1); in children()
|
D | StmtObjC.h | 345 Stmt *SubStmt; variable 351 SubStmt(subStmt), AtLoc(atLoc) {} 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 | Stmt.h | 724 Stmt* SubStmt; variable 727 SwitchCase(DefaultStmtClass, DL, CL), SubStmt(substmt) {} in DefaultStmt() 733 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() 734 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt() 735 void setSubStmt(Stmt *S) { SubStmt = S; } in setSubStmt() 743 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() 750 child_range children() { return child_range(&SubStmt, &SubStmt+1); } in children() 764 Stmt *SubStmt; variable 768 : Stmt(LabelStmtClass), TheDecl(D), SubStmt(substmt), IdentLoc(IL) { in LabelStmt() 778 Stmt *getSubStmt() { return SubStmt; } in getSubStmt() [all …]
|
D | Expr.h | 3361 Stmt *SubStmt; variable 3371 SubStmt(substmt), LParenLoc(lp), RParenLoc(rp) { } in StmtExpr() 3376 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); } in getSubStmt() 3377 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); } in getSubStmt() 3378 void setSubStmt(CompoundStmt *S) { SubStmt = S; } in setSubStmt() 3393 child_range children() { return child_range(&SubStmt, &SubStmt+1); } in children()
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 373 Stmt *SubStmt = *CI; in BuildScopeInformation() local 374 if (SubStmt == 0) continue; in BuildScopeInformation() 381 if (CaseStmt *CS = dyn_cast<CaseStmt>(SubStmt)) in BuildScopeInformation() 383 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SubStmt)) in BuildScopeInformation() 385 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation() 390 LabelAndGotoScopes[SubStmt] = ParentScope; in BuildScopeInformation() 391 SubStmt = Next; in BuildScopeInformation() 396 if (DeclStmt *DS = dyn_cast<DeclStmt>(SubStmt)) { in BuildScopeInformation() 406 if (ObjCAtTryStmt *AT = dyn_cast<ObjCAtTryStmt>(SubStmt)) { in BuildScopeInformation() 443 if (ObjCAtSynchronizedStmt *AS = dyn_cast<ObjCAtSynchronizedStmt>(SubStmt)){ in BuildScopeInformation() [all …]
|
D | SemaStmt.cpp | 381 void Sema::ActOnCaseStmtBody(Stmt *caseStmt, Stmt *SubStmt) { in ActOnCaseStmtBody() argument 382 DiagnoseUnusedExprResult(SubStmt); in ActOnCaseStmtBody() 385 CS->setSubStmt(SubStmt); in ActOnCaseStmtBody() 390 Stmt *SubStmt, Scope *CurScope) { in ActOnDefaultStmt() argument 391 DiagnoseUnusedExprResult(SubStmt); in ActOnDefaultStmt() 395 return Owned(SubStmt); in ActOnDefaultStmt() 398 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt() 405 SourceLocation ColonLoc, Stmt *SubStmt) { in ActOnLabelStmt() argument 410 return Owned(SubStmt); in ActOnLabelStmt() 414 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt() [all …]
|
D | TreeTransform.h | 1065 Stmt *SubStmt) { in RebuildDefaultStmt() argument 1066 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt() 1075 SourceLocation ColonLoc, Stmt *SubStmt) { in RebuildLabelStmt() argument 1076 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt() 1085 Stmt *SubStmt) { in RebuildAttributedStmt() argument 1086 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt() 1796 Stmt *SubStmt, in RebuildStmtExpr() argument 1798 return getSema().ActOnStmtExpr(LParenLoc, SubStmt, RParenLoc); in RebuildStmtExpr() 5311 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt() local 5312 if (SubStmt.isInvalid()) in TransformCaseStmt() [all …]
|
D | SemaExprCXX.cpp | 4929 Stmt *Sema::MaybeCreateStmtWithCleanups(Stmt *SubStmt) { in MaybeCreateStmtWithCleanups() argument 4930 assert(SubStmt && "sub statement can't be null!"); in MaybeCreateStmtWithCleanups() 4935 return SubStmt; in MaybeCreateStmtWithCleanups() 4941 CompoundStmt *CompStmt = new (Context) CompoundStmt(Context, SubStmt, in MaybeCreateStmtWithCleanups()
|
D | SemaDeclCXX.cpp | 11617 Stmt *SubStmt = *CI; in SearchForReturnInStmt() local 11618 if (!SubStmt) in SearchForReturnInStmt() 11620 if (isa<ReturnStmt>(SubStmt)) in SearchForReturnInStmt() 11621 Self.Diag(SubStmt->getLocStart(), in SearchForReturnInStmt() 11623 if (!isa<Expr>(SubStmt)) in SearchForReturnInStmt() 11624 SearchForReturnInStmt(Self, SubStmt); in SearchForReturnInStmt()
|
D | SemaExpr.cpp | 9669 Sema::ActOnStmtExpr(SourceLocation LPLoc, Stmt *SubStmt, in ActOnStmtExpr() argument 9671 assert(SubStmt && isa<CompoundStmt>(SubStmt) && "Invalid action invocation!"); in ActOnStmtExpr() 9672 CompoundStmt *Compound = cast<CompoundStmt>(SubStmt); in ActOnStmtExpr()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 486 StmtResult SubStmt(ParseStatement()); in ParseLabeledStatement() local 489 if (SubStmt.isInvalid()) in ParseLabeledStatement() 490 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement() 500 SubStmt.get()); in ParseLabeledStatement() 616 StmtResult SubStmt; in ParseCaseStatement() local 619 SubStmt = ParseStatement(); in ParseCaseStatement() 626 SubStmt = true; in ParseCaseStatement() 630 if (SubStmt.isInvalid()) in ParseCaseStatement() 631 SubStmt = Actions.ActOnNullStmt(SourceLocation()); in ParseCaseStatement() 634 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, SubStmt.get()); in ParseCaseStatement() [all …]
|
/external/clang/include/clang/Analysis/ |
D | ProgramPoint.h | 266 const Stmt *SubStmt = 0) 267 : StmtPoint(S, SubStmt, PreStmtKind, L, tag) {} in StmtPoint() argument
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 287 Stmt *SubStmt) { in Create() argument 291 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); in Create()
|
D | ExprConstant.cpp | 3234 if (const Stmt *SubStmt = Cond ? IS->getThen() : IS->getElse()) { in EvaluateStmt() local 3235 EvalStmtResult ESR = EvaluateStmt(Result, Info, SubStmt); in EvaluateStmt()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2810 void ActOnCaseStmtBody(Stmt *CaseStmt, Stmt *SubStmt); 2814 Stmt *SubStmt, Scope *CurScope); 2816 SourceLocation ColonLoc, Stmt *SubStmt); 2820 Stmt *SubStmt); 3429 ExprResult ActOnStmtExpr(SourceLocation LPLoc, Stmt *SubStmt, 4208 Stmt *MaybeCreateStmtWithCleanups(Stmt *SubStmt);
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 180 S->SubStmt = Reader.ReadSubStmt(); in VisitAttributedStmt() 1171 S->SubStmt = Reader.ReadSubStmt(); in VisitMSDependentExistsStmt()
|