https://github.com/jtb20 updated https://github.com/llvm/llvm-project/pull/194051
>From 0f42045f3ebabc4f82682547aafb9ffcc18d6b6c Mon Sep 17 00:00:00 2001 From: Julian Brown <[email protected]> Date: Mon, 27 Apr 2026 14:27:45 -0500 Subject: [PATCH 1/2] remove experimental/unnecessary forward decl Created using spr 1.3.5 --- clang/lib/Sema/SemaOpenMP.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/clang/lib/Sema/SemaOpenMP.cpp b/clang/lib/Sema/SemaOpenMP.cpp index 97a263605fafc3..9c245accfe06d2 100644 --- a/clang/lib/Sema/SemaOpenMP.cpp +++ b/clang/lib/Sema/SemaOpenMP.cpp @@ -11455,10 +11455,6 @@ StmtResult SemaOpenMP::ActOnOpenMPErrorDirective(ArrayRef<OMPClause *> Clauses, return OMPErrorDirective::Create(getASTContext(), StartLoc, EndLoc, Clauses); } -static OpenMPDirectiveKind getOpenMPCaptureRegionForClause( - OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, unsigned OpenMPVersion, - OpenMPDirectiveKind NameModifier = OMPD_unknown); - StmtResult SemaOpenMP::ActOnOpenMPTaskwaitDirective(ArrayRef<OMPClause *> Clauses, SourceLocation StartLoc, @@ -17022,7 +17018,7 @@ OMPClause *SemaOpenMP::ActOnOpenMPSingleExprClause(OpenMPClauseKind Kind, // be captured. static OpenMPDirectiveKind getOpenMPCaptureRegionForClause( OpenMPDirectiveKind DKind, OpenMPClauseKind CKind, unsigned OpenMPVersion, - OpenMPDirectiveKind NameModifier) { + OpenMPDirectiveKind NameModifier = OMPD_unknown) { assert(isAllowedClauseForDirective(DKind, CKind, OpenMPVersion) && "Invalid directive with CKind-clause"); >From 8c2031bf5cd28f2cb2791c1b40eca5997a2ebf10 Mon Sep 17 00:00:00 2001 From: Julian Brown <[email protected]> Date: Fri, 29 May 2026 12:22:46 -0500 Subject: [PATCH 2/2] run clang-format/rebase Created using spr 1.3.5 --- clang/lib/CodeGen/CGOpenMPRuntime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index fa3d5b4c1ff326..30514facd05460 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp @@ -2309,7 +2309,7 @@ void CGOpenMPRuntime::emitTaskgraphCall(CodeGenFunction &CGF, GraphReset, NoGroup, CGF.Builder.CreatePointerBitCastOrAddrSpaceCast(OutlinedFn, - CGM.VoidPtrTy), + CGM.VoidPtrTy), CGF.Builder.CreatePointerBitCastOrAddrSpaceCast( CapStruct.getPointer(OutlinedCGF), CGM.VoidPtrTy)}; _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
