From 24fe256edfd110a946a6c6bbb18ea3d0bef4c035 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Tue, 30 Sep 2025 10:04:03 -0500 Subject: [PATCH] [flang][OpenMP] Remove unused DECLARE REDUCTION from openmp-utils.h, NFC DECLARE REDUCTION is now handled by the generic code, and the special handling no longer applies. --- flang/include/flang/Parser/openmp-utils.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/flang/include/flang/Parser/openmp-utils.h b/flang/include/flang/Parser/openmp-utils.h index b8f3559097750..f761332c9cfd7 100644 --- a/flang/include/flang/Parser/openmp-utils.h +++ b/flang/include/flang/Parser/openmp-utils.h @@ -39,7 +39,6 @@ struct ConstructId { } MAKE_CONSTR_ID(OpenMPDeclarativeAllocate, D::OMPD_allocate); -MAKE_CONSTR_ID(OpenMPDeclareReductionConstruct, D::OMPD_declare_reduction); MAKE_CONSTR_ID(OpenMPExecutableAllocate, D::OMPD_allocate); #undef MAKE_CONSTR_ID @@ -92,7 +91,6 @@ struct DirectiveNameScope { if constexpr (std::is_base_of_v) { return std::get(x.t).DirName(); } else if constexpr (std::is_same_v || - std::is_same_v || std::is_same_v) { return MakeName(std::get(x.t).source, ConstructId::id); } else {