Author: Amr Hesham Date: 2025-09-20T11:26:51+02:00 New Revision: d510a693af0cdc397544c7e8ce111a01002e0640
URL: https://github.com/llvm/llvm-project/commit/d510a693af0cdc397544c7e8ce111a01002e0640 DIFF: https://github.com/llvm/llvm-project/commit/d510a693af0cdc397544c7e8ce111a01002e0640.diff LOG: [CIR][NFC] Fix Missing Decl::OMPGroupPrivate warning (#159631) Fix the Missing enum element `Decl::OMPGroupPrivate` warning 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 2f221b9dd26a5..10b8255623763 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: @@ -667,7 +668,6 @@ void CIRGenFunction::emitDecl(const Decl &d, bool evaluateConditionDecl) { case Decl::UsingPack: 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
