Skip to content

Commit 71e6ba2

Browse files
authored
Update clang/lib/Sema/SemaStmt.cpp
1 parent f3083be commit 71e6ba2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Sema/SemaStmt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4571,10 +4571,10 @@ buildCapturedStmtCaptureList(Sema &S, CapturedRegionScopeInfo *RSI,
45714571
static std::optional<int>
45724572
isOpenMPCapturedRegionInArmSMEFunction(Sema const &S, CapturedRegionKind Kind) {
45734573
if (!S.getLangOpts().OpenMP || Kind != CR_OpenMP)
4574-
return false;
4574+
return {};
45754575
FunctionDecl *FD = S.getCurFunctionDecl(/*AllowLambda=*/true);
45764576
if (!FD)
4577-
return false;
4577+
return {};
45784578
if (IsArmStreamingFunction(FD, /*IncludeLocallyStreaming=*/true))
45794579
return /* in streaming functions */ 0;
45804580
if (hasArmZAState(FD))

0 commit comments

Comments
 (0)