Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseStmt.cpp37 StmtResult Res; in ParseStatement()
98 StmtResult
172 StmtResult Res; in ParseStatementOrDeclarationAfterAttributes()
573 StmtResult Handler; in ParseSEHTryBlock()
708 StmtResult SubStmt; in ParseLabeledStatement()
852 StmtResult Case = in ParseCaseStatement()
876 StmtResult SubStmt; in ParseCaseStatement()
1079 StmtResult R = in ConsumeNullStmt()
1184 StmtResult R; in ParseCompoundStatementBody()
2305 StmtResult Res; in ParseGotoStatement()
[all …]
H A DParseObjc.cpp2480 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) { in ParseObjCThrowStmt()
2498 StmtResult
2533 StmtResult body(ParseCompoundStatementBody()); in ParseObjCSynchronizedStmt()
2558 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) { in ParseObjCTryStmt()
2567 StmtResult FinallyStmt; in ParseObjCTryStmt()
2569 StmtResult TryBody(ParseCompoundStatementBody()); in ParseObjCTryStmt()
2612 StmtResult CatchBody(true); in ParseObjCTryStmt()
2645 StmtResult FinallyBody(true); in ParseObjCTryStmt()
2678 StmtResult
2689 StmtResult AutoreleasePoolBody(ParseCompoundStatementBody()); in ParseObjCAutoreleasePoolStmt()
[all …]
H A DParseStmtAsm.cpp378 StmtResult Parser::ParseMicrosoftAsmStatement(SourceLocation AsmLoc) { in ParseMicrosoftAsmStatement()
721 StmtResult Parser::ParseAsmStatement(bool &msAsm) { in ParseAsmStatement()
H A DParseOpenMP.cpp2489 StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective( in ParseOpenMPDeclarativeOrExecutableDirective()
2514 StmtResult Directive = StmtError(); in ParseOpenMPDeclarativeOrExecutableDirective()
2944 StmtResult AssociatedStmt; in ParseOpenMPDeclarativeOrExecutableDirective()
H A DParseExpr.cpp2936 StmtResult Stmt(ParseCompoundStatement(true)); in ParseParenExpression()
3645 StmtResult Stmt(ParseCompoundStatementBody()); in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1525 StmtResult Stmt(ParseCompoundStatementBody()); in ParseLambdaExpressionAfterIntroducer()
2021 Parser::ParseCXXCondition(StmtResult *InitStmt, SourceLocation Loc, in ParseCXXCondition()
H A DParsePragma.cpp830 StmtResult Parser::HandlePragmaCaptured() in HandlePragmaCaptured()
847 StmtResult R = ParseCompoundStatement(); in HandlePragmaCaptured()
H A DParseDecl.cpp5391 StmtResult R = ParseStatementOrDeclaration(Stmts, SubStmtCtx); in ParseTopLevelStmtDecl()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DOwnership.h263 using StmtResult = ActionResult<Stmt *>;
279 inline StmtResult StmtError() { return StmtResult(true); }
285 inline StmtResult StmtError(const StreamingDiagnostic &) {
290 inline StmtResult StmtEmpty() { return StmtResult(false); }
297 inline Stmt *AssertSuccess(StmtResult R) {
H A DSema.h5016 StmtResult ActOnExprStmtError();
10008 StmtResult SubstStmt(Stmt *S,
11301 StmtResult ActOnOpenMPRegionEnd(StmtResult S, ArrayRef<OMPClause *> Clauses);
11302 StmtResult ActOnOpenMPExecutableDirective(
11316 StmtResult
11332 StmtResult
11338 StmtResult
11501 StmtResult
11512 StmtResult
11563 StmtResult
[all …]
/openbsd/gnu/llvm/clang/lib/Sema/
H A DTreeTransform.h7397 StmtResult
7403 StmtResult
7409 StmtResult
7451 StmtResult
7506 StmtResult
7547 StmtResult
7578 StmtResult
7632 StmtResult
7664 StmtResult
7688 StmtResult
[all …]
H A DSemaStmt.cpp509 StmtResult
539 StmtResult
552 StmtResult
1213 StmtResult
1704 StmtResult
2281 StmtResult
3290 StmtResult
3325 StmtResult
3343 StmtResult
3879 StmtResult
[all …]
H A DSemaCoroutine.cpp707 auto buildSuspends = [&](StringRef Name) mutable -> StmtResult { in ActOnCoroutineBodyStart()
728 StmtResult InitSuspend = buildSuspends("initial_suspend"); in ActOnCoroutineBodyStart()
732 StmtResult FinalSuspend = buildSuspends("final_suspend"); in ActOnCoroutineBodyStart()
972 StmtResult Sema::ActOnCoreturnStmt(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoreturnStmt()
980 StmtResult Sema::BuildCoreturnStmt(SourceLocation Loc, Expr *E, in BuildCoreturnStmt()
1183 StmtResult PromiseStmt = in makePromiseStmt()
1256 StmtResult ReturnStmt = in makeReturnOnAllocFailure()
1617 StmtResult Fallthrough; in makeOnFallthrough()
1753 StmtResult ReturnStmt = S.BuildReturnStmt(Loc, ReturnValue); in makeGroDeclAndReturnStmt()
1828 StmtResult Stmt = ActOnDeclStmt(ConvertDeclToDeclGroup(D), Loc, Loc); in buildCoroutineParameterMoves()
[all …]
H A DSemaOpenMP.cpp4790 StmtResult Sema::ActOnOpenMPRegionEnd(StmtResult S, in ActOnOpenMPRegionEnd()
4904 StmtResult SR = S; in ActOnOpenMPRegionEnd()
10276 StmtResult
10315 StmtResult
10955 StmtResult
10978 StmtResult
11001 StmtResult
13006 StmtResult
13155 StmtResult
13192 StmtResult
[all …]
H A DSemaStmtAsm.cpp242 StmtResult Sema::ActOnGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple, in ActOnGCCAsmStmt()
930 StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, in ActOnMSAsmStmt()
H A DSemaDeclCXX.cpp8151 bool add(const StmtResult &S) { in add()
8181 StmtResult build() { in build()
8878 StmtResult Body = in DefineDefaultedComparison()
8926 StmtResult Body = in ComputeDefaultedComparisonExceptionSpec()
14140 static StmtResult
14220 static StmtResult
14317 return StmtResult((Stmt*)nullptr); in buildSingleCopyAssignRecursively()
14381 StmtResult Copy = in buildSingleCopyAssignRecursively()
14412 static StmtResult
14762 StmtResult Body; in DefineImplicitCopyAssignment()
[all …]
H A DSemaTemplateInstantiate.cpp3899 StmtResult
H A DSemaTemplateInstantiateDecl.cpp5064 StmtResult Body; in InstantiateFunctionDefinition()
H A DSemaExprCXX.cpp8867 StmtResult Sema::ActOnFinishFullStmt(Stmt *FullStmt) { in ActOnFinishFullStmt()
H A DSemaDecl.cpp13866 StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier()
H A DSemaExpr.cpp17649 StmtResult TransformLambdaBody(LambdaExpr *E, Stmt *Body) { in TransformLambdaBody()
/openbsd/gnu/llvm/clang/include/clang/Parse/
H A DParser.h791 StmtResult HandlePragmaCaptured();
2084 StmtResult
2116 StmtResult ParseDoStatement();
2118 StmtResult ParseGotoStatement();
2119 StmtResult ParseContinueStatement();
2120 StmtResult ParseBreakStatement();
2121 StmtResult ParseReturnStatement();
2175 StmtResult ParseCXXTryBlock();
2182 StmtResult ParseSEHTryBlock();
2185 StmtResult ParseSEHLeaveStatement();
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp400 StmtResult result_initialization_stmt_result(m_sema->ActOnDeclStmt( in SynthesizeBodyResult()
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp4917 struct StmtResult { struct
4938 static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info,
4943 static EvalStmtResult EvaluateLoopBody(StmtResult &Result, EvalInfo &Info, in EvaluateLoopBody()
4967 static EvalStmtResult EvaluateSwitch(StmtResult &Result, EvalInfo &Info, in EvaluateSwitch()
5059 static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info, in EvaluateStmt()
6207 StmtResult Ret = {Result, ResultSlot}; in HandleFunctionCall()
6241 StmtResult Ret = {RetVal, nullptr}; in HandleConstructorCall()
6558 StmtResult Ret = {RetVal, nullptr}; in HandleDestructionImpl()
7983 StmtResult Result = { ReturnValue, nullptr }; in VisitStmtExpr()
/openbsd/gnu/llvm/clang/docs/
H A DInternalsManual.rst1251 ``StmtResult``. Only :ref:`Sema <Sema>` looks at the AST node contents of these