Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseStmt.cpp35 StmtResult Parser::ParseStatement(SourceLocation *TrailingElseLoc, in ParseStatement()
37 StmtResult Res; in ParseStatement()
101 StmtResult
113 StmtResult Res = ParseStatementOrDeclarationAfterAttributes( in ParseStatementOrDeclaration()
154 StmtResult
159 StmtResult Res; in ParseStatementOrDeclarationAfterAttributes()
397 StmtResult Parser::ParseExprStatement() { in ParseExprStatement()
438 StmtResult Parser::ParseSEHTryBlock() { in ParseSEHTryBlock()
445 StmtResult TryBlock(ParseCompoundStatement(/*isStmtExpr=*/false, in ParseSEHTryBlock()
450 StmtResult Handler; in ParseSEHTryBlock()
[all …]
DParseObjc.cpp2455 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) { in ParseObjCThrowStmt()
2473 StmtResult
2508 StmtResult body(ParseCompoundStatementBody()); in ParseObjCSynchronizedStmt()
2533 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) { in ParseObjCTryStmt()
2542 StmtResult FinallyStmt; in ParseObjCTryStmt()
2544 StmtResult TryBody(ParseCompoundStatementBody()); in ParseObjCTryStmt()
2584 StmtResult CatchBody(true); in ParseObjCTryStmt()
2592 StmtResult Catch = Actions.ActOnObjCAtCatchStmt(AtCatchFinallyLoc, in ParseObjCTryStmt()
2610 StmtResult FinallyBody(true); in ParseObjCTryStmt()
2636 StmtResult
[all …]
DParseStmtAsm.cpp380 StmtResult Parser::ParseMicrosoftAsmStatement(SourceLocation AsmLoc) { in ParseMicrosoftAsmStatement()
669 StmtResult Parser::ParseAsmStatement(bool &msAsm) { in ParseAsmStatement()
DParseOpenMP.cpp780 StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective( in ParseOpenMPDeclarativeOrExecutableDirective()
794 StmtResult Directive = StmtError(); in ParseOpenMPDeclarativeOrExecutableDirective()
952 StmtResult AssociatedStmt; in ParseOpenMPDeclarativeOrExecutableDirective()
DParseExpr.cpp2245 StmtResult Stmt(ParseCompoundStatement(true)); in ParseParenExpression()
2855 StmtResult Stmt(ParseCompoundStatementBody()); in ParseBlockLiteralExpression()
DParsePragma.cpp430 StmtResult Parser::HandlePragmaCaptured() in HandlePragmaCaptured()
446 StmtResult R = ParseCompoundStatement(); in HandlePragmaCaptured()
DParseExprCXX.cpp1316 StmtResult Stmt(ParseCompoundStatementBody()); in ParseLambdaExpressionAfterIntroducer()
1739 Sema::ConditionResult Parser::ParseCXXCondition(StmtResult *InitStmt, in ParseCXXCondition()
/external/clang/include/clang/Sema/
DOwnership.h254 typedef ActionResult<Stmt*> StmtResult;
269 inline StmtResult StmtError() { return StmtResult(true); }
272 inline StmtResult StmtError(const DiagnosticBuilder&) { return StmtError(); }
275 inline StmtResult StmtEmpty() { return StmtResult(false); }
282 inline Stmt *AssertSuccess(StmtResult R) {
DSema.h1767 StmtResult ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc,
3064 StmtResult ProcessStmtAttributes(Stmt *Stmt, AttributeList *Attrs,
3340 StmtResult ActOnExprStmt(ExprResult Arg);
3341 StmtResult ActOnExprStmtError();
3343 StmtResult ActOnNullStmt(SourceLocation SemiLoc,
3348 StmtResult ActOnCompoundStmt(SourceLocation L, SourceLocation R,
3378 StmtResult ActOnDeclStmt(DeclGroupPtrTy Decl,
3382 StmtResult ActOnForEachLValueExpr(Expr *E);
3383 StmtResult ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal,
3388 StmtResult ActOnDefaultStmt(SourceLocation DefaultLoc,
[all …]
/external/clang/include/clang/Parse/
DParser.h536 StmtResult HandlePragmaCaptured();
1601 Sema::ConditionResult ParseCXXCondition(StmtResult *InitStmt,
1666 StmtResult ParseStatement(SourceLocation *TrailingElseLoc = nullptr,
1676 StmtResult
1679 StmtResult ParseStatementOrDeclarationAfterAttributes(
1684 StmtResult ParseExprStatement();
1685 StmtResult ParseLabeledStatement(ParsedAttributesWithRange &attrs);
1686 StmtResult ParseCaseStatement(bool MissingCase = false,
1688 StmtResult ParseDefaultStatement();
1689 StmtResult ParseCompoundStatement(bool isStmtExpr = false);
[all …]
/external/clang/lib/Sema/
DTreeTransform.h134 static inline StmtResult Owned(Stmt *S) { return S; } in Owned()
319 StmtResult TransformStmt(Stmt *S);
591 StmtResult TransformSEHHandler(Stmt *Handler);
634 StmtResult TransformCompoundStmt(CompoundStmt *S, bool IsStmtExpr);
652 StmtResult TransformOMPExecutableDirective(OMPExecutableDirective *S);
658 StmtResult Transform##Node(Node *S);
1112 StmtResult RebuildCompoundStmt(SourceLocation LBraceLoc, in RebuildCompoundStmt()
1124 StmtResult RebuildCaseStmt(SourceLocation CaseLoc, in RebuildCaseStmt()
1137 StmtResult RebuildCaseStmtBody(Stmt *S, Stmt *Body) { in RebuildCaseStmtBody()
1146 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc, in RebuildDefaultStmt()
[all …]
DSemaStmt.cpp44 StmtResult Sema::ActOnExprStmt(ExprResult FE) { in ActOnExprStmt()
58 return StmtResult(FE.getAs<Stmt>()); in ActOnExprStmt()
62 StmtResult Sema::ActOnExprStmtError() { in ActOnExprStmtError()
67 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt()
72 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc, in ActOnDeclStmt()
332 StmtResult Sema::ActOnCompoundStmt(SourceLocation L, SourceLocation R, in ActOnCompoundStmt()
375 StmtResult
445 StmtResult
460 StmtResult
484 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt()
[all …]
DSemaCoroutine.cpp327 StmtResult Sema::ActOnCoreturnStmt(SourceLocation Loc, Expr *E) { in ActOnCoreturnStmt()
330 StmtResult Sema::BuildCoreturnStmt(SourceLocation Loc, Expr *E) { in BuildCoreturnStmt()
391 StmtResult PromiseStmt = in CheckCompletedCoroutineBody()
DSemaOpenMP.cpp1782 StmtResult Sema::ActOnOpenMPRegionEnd(StmtResult S, in ActOnOpenMPRegionEnd()
3379 StmtResult Sema::ActOnOpenMPExecutableDirective( in ActOnOpenMPExecutableDirective()
3383 StmtResult Res = StmtError(); in ActOnOpenMPExecutableDirective()
3876 StmtResult Sema::ActOnOpenMPParallelDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPParallelDirective()
5453 StmtResult Sema::ActOnOpenMPSimdDirective( in ActOnOpenMPSimdDirective()
5507 StmtResult Sema::ActOnOpenMPForDirective( in ActOnOpenMPForDirective()
5543 StmtResult Sema::ActOnOpenMPForSimdDirective( in ActOnOpenMPForSimdDirective()
5598 StmtResult Sema::ActOnOpenMPSectionsDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPSectionsDirective()
5636 StmtResult Sema::ActOnOpenMPSectionDirective(Stmt *AStmt, in ActOnOpenMPSectionDirective()
5651 StmtResult Sema::ActOnOpenMPSingleDirective(ArrayRef<OMPClause *> Clauses, in ActOnOpenMPSingleDirective()
[all …]
DSemaStmtAsm.cpp141 StmtResult Sema::ActOnGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple, in ActOnGCCAsmStmt()
723 StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, in ActOnMSAsmStmt()
DSemaStmtAttr.cpp295 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList, in ProcessStmtAttributes()
DSemaDeclCXX.cpp9802 static StmtResult
9881 static StmtResult
9978 return StmtResult((Stmt*)nullptr); in buildSingleCopyAssignRecursively()
10042 StmtResult Copy = in buildSingleCopyAssignRecursively()
10071 static StmtResult
10080 StmtResult Result(buildSingleCopyAssignRecursively(S, Loc, T, To, From, in buildSingleCopyAssign()
10361 StmtResult Copy = buildSingleCopyAssign(*this, Loc, BaseType, in DefineImplicitCopyAssignment()
10434 StmtResult Copy = buildSingleCopyAssign(*this, Loc, FieldType, in DefineImplicitCopyAssignment()
10453 StmtResult Return = BuildReturnStmt(Loc, ThisObj.get()); in DefineImplicitCopyAssignment()
10477 StmtResult Body; in DefineImplicitCopyAssignment()
[all …]
DSemaTemplateInstantiate.cpp2662 StmtResult
DSemaTemplateInstantiateDecl.cpp3675 StmtResult Body = SubstStmt(Pattern, TemplateArgs); in InstantiateFunctionDefinition()
DSemaExprCXX.cpp7083 StmtResult Sema::ActOnFinishFullStmt(Stmt *FullStmt) { in ActOnFinishFullStmt()
DSemaDecl.cpp10261 StmtResult
DSemaExpr.cpp12774 StmtResult TransformLabelStmt(LabelStmt *S) { in TransformLabelStmt()
/external/clang/lib/AST/
DExprConstant.cpp3448 struct StmtResult { struct
3456 static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info,
3461 static EvalStmtResult EvaluateLoopBody(StmtResult &Result, EvalInfo &Info, in EvaluateLoopBody()
3480 static EvalStmtResult EvaluateSwitch(StmtResult &Result, EvalInfo &Info, in EvaluateSwitch()
3542 static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info, in EvaluateStmt()
3981 StmtResult Ret = {Result, ResultSlot}; in HandleFunctionCall()
4011 StmtResult Ret = {RetVal, nullptr}; in HandleConstructorCall()
4555 StmtResult Result = { ReturnValue, nullptr }; in VisitStmtExpr()
/external/clang/docs/
DInternalsManual.rst800 ``StmtResult``. Only :ref:`Sema <Sema>` looks at the AST node contents of these