https://github.com/AmrDeveloper created 
https://github.com/llvm/llvm-project/pull/159631

Fix the Missing enum element `Decl::OMPGroupPrivate` warning

>From ee1f54160779af8fc2a4766a00133eb4cd37a64b Mon Sep 17 00:00:00 2001
From: AmrDeveloper <am...@programmer.net>
Date: Thu, 18 Sep 2025 21:26:53 +0200
Subject: [PATCH] [CIR][NFC] Fix Missing Decl::OMPGroupPrivate warning

---
 clang/lib/CIR/CodeGen/CIRGenDecl.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clang/lib/CIR/CodeGen/CIRGenDecl.cpp 
b/clang/lib/CIR/CodeGen/CIRGenDecl.cpp
index 66cd67389c1c7..05ef2b2117ff5 100644
--- a/clang/lib/CIR/CodeGen/CIRGenDecl.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenDecl.cpp
@@ -618,6 +618,7 @@ void CIRGenFunction::emitDecl(const Decl &d, bool 
evaluateConditionDecl) {
   case Decl::MSGuid: // __declspec(uuid("..."))
   case Decl::TemplateParamObject:
   case Decl::OMPThreadPrivate:
+  case Decl::OMPGroupPrivate:
   case Decl::OMPAllocate:
   case Decl::OMPCapturedExpr:
   case Decl::OMPRequires:

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to