Searched defs:SubStmt (Results 1 - 12 of 12) sorted by relevance

/external/clang/include/clang/AST/
H A DStmtCXX.h239 Stmt *SubStmt; member in class:clang::MSDependentExistsStmt
248 CompoundStmt *SubStmt)
252 SubStmt(reinterpret_cast<Stmt *>(SubStmt)) { }
275 return reinterpret_cast<CompoundStmt *>(SubStmt);
279 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();}
282 return child_range(&SubStmt, &SubStmt+1);
245 MSDependentExistsStmt(SourceLocation KeywordLoc, bool IsIfExists, NestedNameSpecifierLoc QualifierLoc, DeclarationNameInfo NameInfo, CompoundStmt *SubStmt) argument
H A DStmtObjC.h345 Stmt *SubStmt; member in class:clang::ObjCAutoreleasePoolStmt
351 SubStmt(subStmt), AtLoc(atLoc) {}
356 const Stmt *getSubStmt() const { return SubStmt; }
357 Stmt *getSubStmt() { return SubStmt; }
358 void setSubStmt(Stmt *S) { SubStmt = S; }
361 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();}
370 child_range children() { return child_range(&SubStmt, &SubStmt + 1); }
H A DStmt.h724 Stmt* SubStmt; member in class:clang::DefaultStmt
727 SwitchCase(DefaultStmtClass, DL, CL), SubStmt(substmt) {}
733 Stmt *getSubStmt() { return SubStmt; }
734 const Stmt *getSubStmt() const { return SubStmt; }
735 void setSubStmt(Stmt *S) { SubStmt = S; }
743 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();}
750 child_range children() { return child_range(&SubStmt, &SubStmt+1); }
764 Stmt *SubStmt; member in class:clang::LabelStmt
768 : Stmt(LabelStmtClass), TheDecl(D), SubStmt(substm
800 Stmt *SubStmt; member in class:clang::AttributedStmt
807 AttributedStmt(SourceLocation Loc, ArrayRef<const Attr*> Attrs, Stmt *SubStmt) argument
[all...]
H A DExpr.h3361 Stmt *SubStmt; member in class:clang::StringLiteral::OffsetOfExpr::StmtExpr
3371 SubStmt(substmt), LParenLoc(lp), RParenLoc(rp) { }
3376 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); }
3377 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); }
3378 void setSubStmt(CompoundStmt *S) { SubStmt = S; }
3393 child_range children() { return child_range(&SubStmt, &SubStmt+1); }
/external/clang/lib/Sema/
H A DJumpDiagnostics.cpp373 Stmt *SubStmt = *CI; local
374 if (SubStmt == 0) continue;
381 if (CaseStmt *CS = dyn_cast<CaseStmt>(SubStmt))
383 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SubStmt))
385 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt))
390 LabelAndGotoScopes[SubStmt] = ParentScope;
391 SubStmt = Next;
396 if (DeclStmt *DS = dyn_cast<DeclStmt>(SubStmt)) {
406 if (ObjCAtTryStmt *AT = dyn_cast<ObjCAtTryStmt>(SubStmt)) {
443 if (ObjCAtSynchronizedStmt *AS = dyn_cast<ObjCAtSynchronizedStmt>(SubStmt)){
[all...]
H A DSemaExprCXX.cpp4929 Stmt *Sema::MaybeCreateStmtWithCleanups(Stmt *SubStmt) { argument
4930 assert(SubStmt && "sub statement can't be null!");
4935 return SubStmt;
4941 CompoundStmt *CompStmt = new (Context) CompoundStmt(Context, SubStmt,
H A DSemaStmt.cpp381 void Sema::ActOnCaseStmtBody(Stmt *caseStmt, Stmt *SubStmt) { argument
382 DiagnoseUnusedExprResult(SubStmt);
385 CS->setSubStmt(SubStmt);
390 Stmt *SubStmt, Scope *CurScope) {
391 DiagnoseUnusedExprResult(SubStmt);
395 return Owned(SubStmt);
398 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt);
405 SourceLocation ColonLoc, Stmt *SubStmt) {
410 return Owned(SubStmt);
414 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt);
389 ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, Stmt *SubStmt, Scope *CurScope) argument
404 ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, SourceLocation ColonLoc, Stmt *SubStmt) argument
423 ActOnAttributedStmt(SourceLocation AttrLoc, ArrayRef<const Attr*> Attrs, Stmt *SubStmt) argument
[all...]
H A DSemaDeclCXX.cpp11617 Stmt *SubStmt = *CI; local
11618 if (!SubStmt)
11620 if (isa<ReturnStmt>(SubStmt))
11621 Self.Diag(SubStmt->getLocStart(),
11623 if (!isa<Expr>(SubStmt))
11624 SearchForReturnInStmt(Self, SubStmt);
H A DTreeTransform.h1065 Stmt *SubStmt) {
1066 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt,
1075 SourceLocation ColonLoc, Stmt *SubStmt) {
1076 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt);
1085 Stmt *SubStmt) {
1086 return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt);
1796 Stmt *SubStmt,
1798 return getSema().ActOnStmtExpr(LParenLoc, SubStmt, RParenLoc);
5311 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt());
5312 if (SubStmt
1063 RebuildDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, Stmt *SubStmt) argument
1074 RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, SourceLocation ColonLoc, Stmt *SubStmt) argument
1083 RebuildAttributedStmt(SourceLocation AttrLoc, ArrayRef<const Attr*> Attrs, Stmt *SubStmt) argument
1795 RebuildStmtExpr(SourceLocation LParenLoc, Stmt *SubStmt, SourceLocation RParenLoc) argument
5323 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); local
5335 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); local
5354 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); local
6157 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt()); local
7073 StmtResult SubStmt local
[all...]
H A DSemaExpr.cpp9669 Sema::ActOnStmtExpr(SourceLocation LPLoc, Stmt *SubStmt, argument
9671 assert(SubStmt && isa<CompoundStmt>(SubStmt) && "Invalid action invocation!");
9672 CompoundStmt *Compound = cast<CompoundStmt>(SubStmt);
/external/clang/lib/AST/
H A DStmt.cpp287 Stmt *SubStmt) {
291 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt);
285 Create(ASTContext &C, SourceLocation Loc, ArrayRef<const Attr*> Attrs, Stmt *SubStmt) argument
/external/clang/lib/Parse/
H A DParseStmt.cpp486 StmtResult SubStmt(ParseStatement());
489 if (SubStmt.isInvalid())
490 SubStmt = Actions.ActOnNullStmt(ColonLoc);
500 SubStmt.get());
616 StmtResult SubStmt; local
619 SubStmt = ParseStatement();
626 SubStmt = true;
630 if (SubStmt.isInvalid())
631 SubStmt = Actions.ActOnNullStmt(SourceLocation());
634 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, SubStmt
665 StmtResult SubStmt; local
[all...]

Completed in 302 milliseconds