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

Fix enumeration value 'OMPFuseDirectiveClass' not handled in switch warning

>From c89580288f97de717c7823a0e557d4e143536ee0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9CAmr?= <[email protected]>
Date: Mon, 29 Sep 2025 19:40:43 +0200
Subject: [PATCH] [CIR][NFC] Fix enumeration value 'OMPFuseDirectiveClass' not
 handled in switch

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

diff --git a/clang/lib/CIR/CodeGen/CIRGenStmt.cpp 
b/clang/lib/CIR/CodeGen/CIRGenStmt.cpp
index e842892d085d2..5a3c4427c2f6f 100644
--- a/clang/lib/CIR/CodeGen/CIRGenStmt.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenStmt.cpp
@@ -279,6 +279,7 @@ mlir::LogicalResult CIRGenFunction::emitStmt(const Stmt *s,
   case Stmt::OMPGenericLoopDirectiveClass:
   case Stmt::OMPReverseDirectiveClass:
   case Stmt::OMPInterchangeDirectiveClass:
+  case Stmt::OMPFuseDirectiveClass:
   case Stmt::OMPAssumeDirectiveClass:
   case Stmt::OMPMaskedDirectiveClass:
   case Stmt::OMPStripeDirectiveClass:

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to