Home
last modified time | relevance | path

Searched refs:SubStmt (Results 1 – 15 of 15) sorted by relevance

/external/clang/include/clang/AST/
DStmtCXX.h239 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 return SourceRange(KeywordLoc, SubStmt->getLocEnd()); in getSourceRange()
283 return child_range(&SubStmt, &SubStmt+1); in children()
DStmtObjC.h349 Stmt *SubStmt; variable
355 SubStmt(subStmt), AtLoc(atLoc) {} in ObjCAutoreleasePoolStmt()
360 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt()
361 Stmt *getSubStmt() { return SubStmt; } in getSubStmt()
362 void setSubStmt(Stmt *S) { SubStmt = S; } in setSubStmt()
365 return SourceRange(AtLoc, SubStmt->getLocEnd()); in getSourceRange()
376 child_range children() { return child_range(&SubStmt, &SubStmt + 1); } in children()
DStmt.h726 Stmt* SubStmt; variable
731 SwitchCase(DefaultStmtClass), SubStmt(substmt), DefaultLoc(DL), in DefaultStmt()
737 Stmt *getSubStmt() { return SubStmt; } in getSubStmt()
738 const Stmt *getSubStmt() const { return SubStmt; } in getSubStmt()
739 void setSubStmt(Stmt *S) { SubStmt = S; } in setSubStmt()
747 return SourceRange(DefaultLoc, SubStmt->getLocEnd()); in getSourceRange()
755 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 …]
DExpr.h3212 Stmt *SubStmt; variable
3222 SubStmt(substmt), LParenLoc(lp), RParenLoc(rp) { } in StmtExpr()
3227 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); } in getSubStmt()
3228 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); } in getSubStmt()
3229 void setSubStmt(CompoundStmt *S) { SubStmt = S; } in setSubStmt()
3246 child_range children() { return child_range(&SubStmt, &SubStmt+1); } in children()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp335 Stmt *SubStmt = *CI; in BuildScopeInformation() local
336 if (SubStmt == 0) continue; in BuildScopeInformation()
343 if (CaseStmt *CS = dyn_cast<CaseStmt>(SubStmt)) in BuildScopeInformation()
345 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SubStmt)) in BuildScopeInformation()
347 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
352 LabelAndGotoScopes[SubStmt] = ParentScope; in BuildScopeInformation()
353 SubStmt = Next; in BuildScopeInformation()
358 if (DeclStmt *DS = dyn_cast<DeclStmt>(SubStmt)) { in BuildScopeInformation()
368 if (ObjCAtTryStmt *AT = dyn_cast<ObjCAtTryStmt>(SubStmt)) { in BuildScopeInformation()
405 if (ObjCAtSynchronizedStmt *AS = dyn_cast<ObjCAtSynchronizedStmt>(SubStmt)){ in BuildScopeInformation()
[all …]
DSemaStmt.cpp339 void Sema::ActOnCaseStmtBody(Stmt *caseStmt, Stmt *SubStmt) { in ActOnCaseStmtBody() argument
340 DiagnoseUnusedExprResult(SubStmt); in ActOnCaseStmtBody()
343 CS->setSubStmt(SubStmt); in ActOnCaseStmtBody()
348 Stmt *SubStmt, Scope *CurScope) { in ActOnDefaultStmt() argument
349 DiagnoseUnusedExprResult(SubStmt); in ActOnDefaultStmt()
353 return Owned(SubStmt); in ActOnDefaultStmt()
356 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt()
363 SourceLocation ColonLoc, Stmt *SubStmt) { in ActOnLabelStmt() argument
368 return Owned(SubStmt); in ActOnLabelStmt()
372 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
[all …]
DTreeTransform.h1038 Stmt *SubStmt) { in RebuildDefaultStmt() argument
1039 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
1048 SourceLocation ColonLoc, Stmt *SubStmt) { in RebuildLabelStmt() argument
1049 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
1058 Stmt *SubStmt) { in RebuildAttributedStmt() argument
1059 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt); in RebuildAttributedStmt()
1707 Stmt *SubStmt, in RebuildStmtExpr() argument
1709 return getSema().ActOnStmtExpr(LParenLoc, SubStmt, RParenLoc); in RebuildStmtExpr()
5149 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt() local
5150 if (SubStmt.isInvalid()) in TransformCaseStmt()
[all …]
DSemaExprCXX.cpp4781 Stmt *Sema::MaybeCreateStmtWithCleanups(Stmt *SubStmt) { in MaybeCreateStmtWithCleanups() argument
4782 assert(SubStmt && "sub statement can't be null!"); in MaybeCreateStmtWithCleanups()
4787 return SubStmt; in MaybeCreateStmtWithCleanups()
4793 CompoundStmt *CompStmt = new (Context) CompoundStmt(Context, &SubStmt, 1, in MaybeCreateStmtWithCleanups()
DSemaDeclCXX.cpp10514 Stmt *SubStmt = *CI; in SearchForReturnInStmt() local
10515 if (!SubStmt) in SearchForReturnInStmt()
10517 if (isa<ReturnStmt>(SubStmt)) in SearchForReturnInStmt()
10518 Self.Diag(SubStmt->getLocStart(), in SearchForReturnInStmt()
10520 if (!isa<Expr>(SubStmt)) in SearchForReturnInStmt()
10521 SearchForReturnInStmt(Self, SubStmt); in SearchForReturnInStmt()
DSemaExpr.cpp8915 Sema::ActOnStmtExpr(SourceLocation LPLoc, Stmt *SubStmt, in ActOnStmtExpr() argument
8917 assert(SubStmt && isa<CompoundStmt>(SubStmt) && "Invalid action invocation!"); in ActOnStmtExpr()
8918 CompoundStmt *Compound = cast<CompoundStmt>(SubStmt); in ActOnStmtExpr()
/external/clang/lib/Parse/
DParseStmt.cpp431 StmtResult SubStmt(ParseStatement()); in ParseLabeledStatement() local
434 if (SubStmt.isInvalid()) in ParseLabeledStatement()
435 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement()
445 SubStmt.get()); in ParseLabeledStatement()
561 StmtResult SubStmt; in ParseCaseStatement() local
564 SubStmt = ParseStatement(); in ParseCaseStatement()
571 SubStmt = true; in ParseCaseStatement()
575 if (SubStmt.isInvalid()) in ParseCaseStatement()
576 SubStmt = Actions.ActOnNullStmt(SourceLocation()); in ParseCaseStatement()
579 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, SubStmt.get()); in ParseCaseStatement()
[all …]
/external/clang/include/clang/Analysis/
DProgramPoint.h235 const Stmt *SubStmt = 0)
236 : StmtPoint(S, SubStmt, PreStmtKind, L, tag) {} in StmtPoint() argument
/external/clang/lib/AST/
DStmt.cpp279 Stmt *SubStmt) { in Create() argument
283 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); in Create()
/external/clang/include/clang/Sema/
DSema.h2501 void ActOnCaseStmtBody(Stmt *CaseStmt, Stmt *SubStmt);
2505 Stmt *SubStmt, Scope *CurScope);
2507 SourceLocation ColonLoc, Stmt *SubStmt);
2511 Stmt *SubStmt);
3079 ExprResult ActOnStmtExpr(SourceLocation LPLoc, Stmt *SubStmt,
3847 Stmt *MaybeCreateStmtWithCleanups(Stmt *SubStmt);
/external/clang/lib/Serialization/
DASTReaderStmt.cpp172 S->SubStmt = Reader.ReadSubStmt(); in VisitAttributedStmt()
1082 S->SubStmt = Reader.ReadSubStmt(); in VisitMSDependentExistsStmt()