Home
last modified time | relevance | path

Searched refs:StmtResult (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/Parse/
DParseStmt.cpp78 StmtResult
81 StmtResult Res; in ParseStatementOrDeclaration()
297 StmtResult Parser::ParseExprStatement(ParsedAttributes &Attrs) { in ParseExprStatement()
330 StmtResult Parser::ParseSEHTryBlock(ParsedAttributes & Attrs) { in ParseSEHTryBlock()
345 StmtResult Parser::ParseSEHTryBlockCommon(SourceLocation TryLoc) { in ParseSEHTryBlockCommon()
350 StmtResult TryBlock(ParseCompoundStatement(attrs)); in ParseSEHTryBlockCommon()
354 StmtResult Handler; in ParseSEHTryBlockCommon()
379 StmtResult Parser::ParseSEHExceptBlock(SourceLocation ExceptLoc) { in ParseSEHExceptBlock()
409 StmtResult Block(ParseCompoundStatement(attrs)); in ParseSEHExceptBlock()
422 StmtResult Parser::ParseSEHFinallyBlock(SourceLocation FinallyBlock) { in ParseSEHFinallyBlock()
[all …]
DParseObjc.cpp1538 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) { in ParseObjCThrowStmt()
1556 StmtResult
1582 StmtResult SynchBody(ParseCompoundStatementBody()); in ParseObjCSynchronizedStmt()
1601 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) { in ParseObjCTryStmt()
1610 StmtResult FinallyStmt; in ParseObjCTryStmt()
1612 StmtResult TryBody(ParseCompoundStatementBody()); in ParseObjCTryStmt()
1652 StmtResult CatchBody(true); in ParseObjCTryStmt()
1660 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc, in ParseObjCTryStmt()
1678 StmtResult FinallyBody(true); in ParseObjCTryStmt()
1704 StmtResult
[all …]
DParseExpr.cpp1775 StmtResult Stmt(ParseCompoundStatement(attrs, true)); in ParseParenExpression()
2259 StmtResult Stmt(ParseCompoundStatementBody()); in ParseBlockLiteralExpression()
DParseDecl.cpp747 StmtResult R = Actions.ActOnVlaStmt(DS); in ParseSimpleDeclaration()
/external/clang/include/clang/Parse/
DParser.h204 typedef clang::StmtResult StmtResult; typedef
218 StmtResult Owned(StmtResult res) { in Owned()
219 return StmtResult(res); in Owned()
223 StmtResult StmtError() { return StmtResult(true); } in StmtError()
226 StmtResult StmtError(const DiagnosticBuilder &) { return StmtError(); } in StmtError()
1303 StmtResult ParseStatement() { in ParseStatement()
1307 StmtResult ParseStatementOrDeclaration(StmtVector& Stmts,
1309 StmtResult ParseExprStatement(ParsedAttributes &Attrs);
1310 StmtResult ParseLabeledStatement(ParsedAttributes &Attr);
1311 StmtResult ParseCaseStatement(ParsedAttributes &Attr,
[all …]
/external/clang/lib/Sema/
DSemaStmt.cpp35 StmtResult Sema::ActOnExprStmt(FullExprArg expr) { in ActOnExprStmt()
49 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt()
54 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc, in ActOnDeclStmt()
174 StmtResult
209 StmtResult
245 StmtResult
258 StmtResult
277 StmtResult
421 StmtResult
475 StmtResult
[all …]
DTreeTransform.h127 static inline StmtResult Owned(Stmt *S) { return S; } in Owned()
312 StmtResult TransformStmt(Stmt *S);
494 StmtResult
537 StmtResult TransformCompoundStmt(CompoundStmt *S, bool IsStmtExpr);
541 StmtResult Transform##Node(Node *S);
959 StmtResult RebuildCompoundStmt(SourceLocation LBraceLoc, in RebuildCompoundStmt()
971 StmtResult RebuildCaseStmt(SourceLocation CaseLoc, in RebuildCaseStmt()
984 StmtResult RebuildCaseStmtBody(Stmt *S, Stmt *Body) { in RebuildCaseStmtBody()
993 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc, in RebuildDefaultStmt()
1004 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt()
[all …]
DSemaDeclCXX.cpp6431 static StmtResult
6579 StmtResult Copy = BuildSingleCopyAssign(S, Loc, ArrayTy->getElementType(), in BuildSingleCopyAssign()
6859 StmtResult Copy = BuildSingleCopyAssign(*this, Loc, BaseType, in DefineImplicitCopyAssignment()
7023 StmtResult Copy = BuildSingleCopyAssign(*this, Loc, FieldType, in DefineImplicitCopyAssignment()
7041 StmtResult Return = ActOnReturnStmt(Loc, ThisObj.get()); in DefineImplicitCopyAssignment()
7060 StmtResult Body = ActOnCompoundStmt(Loc, Loc, move_arg(Statements), in DefineImplicitCopyAssignment()
DSemaTemplateInstantiate.cpp2201 StmtResult
DSemaTemplateInstantiateDecl.cpp2478 StmtResult Body = SubstStmt(Pattern, TemplateArgs); in InstantiateFunctionDefinition()
DSemaDecl.cpp2315 StmtResult Sema::ActOnVlaStmt(const DeclSpec &DS) { in ActOnVlaStmt()
2316 StmtResult R; in ActOnVlaStmt()
DSemaExprCXX.cpp4615 StmtResult Sema::ActOnFinishFullStmt(Stmt *FullStmt) { in ActOnFinishFullStmt()
/external/clang/include/clang/Sema/
DOwnership.h432 typedef ActionResult<Stmt*> StmtResult;
449 inline StmtResult StmtError() { return StmtResult(true); }
452 inline StmtResult StmtError(const DiagnosticBuilder&) { return StmtError(); }
455 inline StmtResult StmtEmpty() { return StmtResult(false); }
462 inline Stmt *AssertSuccess(StmtResult R) {
DSema.h734 StmtResult Owned(Stmt* S) { return S; } in Owned()
1075 StmtResult ActOnVlaStmt(const DeclSpec &DS);
1978 StmtResult ActOnExprStmt(FullExprArg Expr);
1980 StmtResult ActOnNullStmt(SourceLocation SemiLoc,
1982 StmtResult ActOnCompoundStmt(SourceLocation L, SourceLocation R,
1985 StmtResult ActOnDeclStmt(DeclGroupPtrTy Decl,
1989 StmtResult ActOnForEachLValueExpr(Expr *E);
1990 StmtResult ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal,
1995 StmtResult ActOnDefaultStmt(SourceLocation DefaultLoc,
1998 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl,
[all …]