From 292906c7dcb6f844010ddfc42b5e4ae74b9fb9d4 Mon Sep 17 00:00:00 2001 From: Maksim Levental Date: Thu, 18 Sep 2025 22:32:41 -0400 Subject: [PATCH] [Clang][CIR] fix enumeration value 'OMPGroupPrivate' not handled in switch --- clang/lib/CIR/CodeGen/CIRGenDecl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/lib/CIR/CodeGen/CIRGenDecl.cpp b/clang/lib/CIR/CodeGen/CIRGenDecl.cpp index 66cd67389c1c7..d028a98eaad02 100644 --- a/clang/lib/CIR/CodeGen/CIRGenDecl.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenDecl.cpp @@ -665,8 +665,9 @@ void CIRGenFunction::emitDecl(const Decl &d, bool evaluateConditionDecl) { case Decl::ImplicitConceptSpecialization: case Decl::TopLevelStmt: case Decl::UsingPack: - case Decl::OMPDeclareReduction: case Decl::OMPDeclareMapper: + case Decl::OMPDeclareReduction: + case Decl::OMPGroupPrivate: cgm.errorNYI(d.getSourceRange(), std::string("emitDecl: unhandled decl type: ") + d.getDeclKindName());