Author: Maksim Levental Date: 2025-09-19T00:36:11-05:00 New Revision: 6d2366c5cc06cb7475538c8cd3d6f08e6d04dc27
URL: https://github.com/llvm/llvm-project/commit/6d2366c5cc06cb7475538c8cd3d6f08e6d04dc27 DIFF: https://github.com/llvm/llvm-project/commit/6d2366c5cc06cb7475538c8cd3d6f08e6d04dc27.diff LOG: [Clang][CIR] fix enumeration value 'OMPGroupPrivate' not handled in switch (#159694) Added: Modified: clang/lib/CIR/CodeGen/CIRGenDecl.cpp Removed: ################################################################################ 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()); _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
