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());