Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmt.cpp35 StmtResult Res; in ParseStatement()
96 StmtResult
170 StmtResult Res; in ParseStatementOrDeclarationAfterAttributes()
558 StmtResult Handler; in ParseSEHTryBlock()
690 StmtResult SubStmt; in ParseLabeledStatement()
828 StmtResult Case = in ParseCaseStatement()
852 StmtResult SubStmt; in ParseCaseStatement()
1050 StmtResult R = in ConsumeNullStmt()
1155 StmtResult R; in ParseCompoundStatementBody()
2283 StmtResult Res; in ParseGotoStatement()
[all …]
H A DParseObjc.cpp2434 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) { in ParseObjCThrowStmt()
2452 StmtResult
2487 StmtResult body(ParseCompoundStatementBody()); in ParseObjCSynchronizedStmt()
2512 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) { in ParseObjCTryStmt()
2521 StmtResult FinallyStmt; in ParseObjCTryStmt()
2523 StmtResult TryBody(ParseCompoundStatementBody()); in ParseObjCTryStmt()
2566 StmtResult CatchBody(true); in ParseObjCTryStmt()
2599 StmtResult FinallyBody(true); in ParseObjCTryStmt()
2632 StmtResult
2643 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.cpp2477 StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective( in ParseOpenMPDeclarativeOrExecutableDirective()
2502 StmtResult Directive = StmtError(); in ParseOpenMPDeclarativeOrExecutableDirective()
2927 StmtResult AssociatedStmt; in ParseOpenMPDeclarativeOrExecutableDirective()
H A DParseExpr.cpp2897 StmtResult Stmt(ParseCompoundStatement(true)); in ParseParenExpression()
3611 StmtResult Stmt(ParseCompoundStatementBody()); in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1472 StmtResult Stmt(ParseCompoundStatementBody()); in ParseLambdaExpressionAfterIntroducer()
1970 Parser::ParseCXXCondition(StmtResult *InitStmt, SourceLocation Loc, in ParseCXXCondition()
H A DParsePragma.cpp824 StmtResult Parser::HandlePragmaCaptured() in HandlePragmaCaptured()
841 StmtResult R = ParseCompoundStatement(); in HandlePragmaCaptured()
/llvm-project-15.0.7/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.h4893 StmtResult ActOnExprStmtError();
9682 StmtResult SubstStmt(Stmt *S,
10970 StmtResult ActOnOpenMPRegionEnd(StmtResult S, ArrayRef<OMPClause *> Clauses);
10971 StmtResult ActOnOpenMPExecutableDirective(
10985 StmtResult
11001 StmtResult
11007 StmtResult
11163 StmtResult
11174 StmtResult
11225 StmtResult
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DTreeTransform.h7286 StmtResult
7292 StmtResult
7298 StmtResult
7340 StmtResult
7395 StmtResult
7436 StmtResult
7467 StmtResult
7521 StmtResult
7553 StmtResult
7577 StmtResult
[all …]
H A DSemaStmt.cpp509 StmtResult
539 StmtResult
552 StmtResult
1213 StmtResult
1704 StmtResult
2281 StmtResult
3281 StmtResult
3316 StmtResult
3334 StmtResult
3887 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()
964 StmtResult Sema::ActOnCoreturnStmt(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoreturnStmt()
972 StmtResult Sema::BuildCoreturnStmt(SourceLocation Loc, Expr *E, in BuildCoreturnStmt()
1155 StmtResult PromiseStmt = in makePromiseStmt()
1228 StmtResult ReturnStmt = in makeReturnOnAllocFailure()
1490 StmtResult Fallthrough; in makeOnFallthrough()
1626 StmtResult ReturnStmt = S.BuildReturnStmt(Loc, ReturnValue); in makeGroDeclAndReturnStmt()
1701 StmtResult Stmt = ActOnDeclStmt(ConvertDeclToDeclGroup(D), Loc, Loc); in buildCoroutineParameterMoves()
[all …]
H A DSemaOpenMP.cpp4734 StmtResult Sema::ActOnOpenMPRegionEnd(StmtResult S, in ActOnOpenMPRegionEnd()
4848 StmtResult SR = S; in ActOnOpenMPRegionEnd()
10193 StmtResult
10232 StmtResult
10872 StmtResult
10895 StmtResult
10918 StmtResult
12866 StmtResult
13015 StmtResult
13052 StmtResult
[all …]
H A DSemaStmtAsm.cpp241 StmtResult Sema::ActOnGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple, in ActOnGCCAsmStmt()
924 StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, in ActOnMSAsmStmt()
H A DSemaDeclCXX.cpp8081 bool add(const StmtResult &S) { in add()
8111 StmtResult build() { in build()
8792 StmtResult Body = in DefineDefaultedComparison()
8840 StmtResult Body = in ComputeDefaultedComparisonExceptionSpec()
14030 static StmtResult
14110 static StmtResult
14207 return StmtResult((Stmt*)nullptr); in buildSingleCopyAssignRecursively()
14271 StmtResult Copy = in buildSingleCopyAssignRecursively()
14302 static StmtResult
14647 StmtResult Body; in DefineImplicitCopyAssignment()
[all …]
H A DSemaTemplateInstantiate.cpp3509 StmtResult
H A DSemaTemplateInstantiateDecl.cpp5055 StmtResult Body; in InstantiateFunctionDefinition()
H A DSemaExprCXX.cpp8843 StmtResult Sema::ActOnFinishFullStmt(Stmt *FullStmt) { in ActOnFinishFullStmt()
H A DSemaDecl.cpp13483 StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, in ActOnCXXForRangeIdentifier()
H A DSemaExpr.cpp17374 StmtResult TransformLambdaBody(LambdaExpr *E, Stmt *Body) { in TransformLambdaBody()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h781 StmtResult HandlePragmaCaptured();
2073 StmtResult
2104 StmtResult ParseDoStatement();
2106 StmtResult ParseGotoStatement();
2107 StmtResult ParseContinueStatement();
2108 StmtResult ParseBreakStatement();
2109 StmtResult ParseReturnStatement();
2163 StmtResult ParseCXXTryBlock();
2170 StmtResult ParseSEHTryBlock();
2173 StmtResult ParseSEHLeaveStatement();
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp400 StmtResult result_initialization_stmt_result(m_sema->ActOnDeclStmt( in SynthesizeBodyResult()
/llvm-project-15.0.7/polly/lib/Transform/
H A DZoneAlgo.cpp722 auto StmtResult = getScalarReachingDefinition(Stmt); in getScalarReachingDefinition() local
724 return StmtResult.intersect_range(DomainDef); in getScalarReachingDefinition()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp4913 struct StmtResult { struct
4934 static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info,
4939 static EvalStmtResult EvaluateLoopBody(StmtResult &Result, EvalInfo &Info, in EvaluateLoopBody()
4963 static EvalStmtResult EvaluateSwitch(StmtResult &Result, EvalInfo &Info, in EvaluateSwitch()
5053 static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info, in EvaluateStmt()
6199 StmtResult Ret = {Result, ResultSlot}; in HandleFunctionCall()
6233 StmtResult Ret = {RetVal, nullptr}; in HandleConstructorCall()
6550 StmtResult Ret = {RetVal, nullptr}; in HandleDestructionImpl()
7970 StmtResult Result = { ReturnValue, nullptr }; in VisitStmtExpr()
/llvm-project-15.0.7/clang/docs/
H A DInternalsManual.rst1248 ``StmtResult``. Only :ref:`Sema <Sema>` looks at the AST node contents of these