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] 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 97a263605fafc..9c245accfe06d 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"); _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
