From efbc5ff02818dd841bfd9a916edb8b4d57ab941b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 6 Nov 2025 13:40:44 -0800 Subject: [PATCH] [Demangle] Remove redundant declarations (NFC) In C++17, static constexpr members are implicitly inline, so they no longer require an out-of-line definition. Identified with readability-redundant-declaration. --- llvm/lib/Demangle/ItaniumDemangle.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llvm/lib/Demangle/ItaniumDemangle.cpp b/llvm/lib/Demangle/ItaniumDemangle.cpp index 1009cc91ca12a..8e476cdafdb71 100644 --- a/llvm/lib/Demangle/ItaniumDemangle.cpp +++ b/llvm/lib/Demangle/ItaniumDemangle.cpp @@ -25,10 +25,6 @@ using namespace llvm; using namespace llvm::itanium_demangle; -constexpr const char *itanium_demangle::FloatData::spec; -constexpr const char *itanium_demangle::FloatData::spec; -constexpr const char *itanium_demangle::FloatData::spec; - // := _ # when number < 10 // := __ _ # when number >= 10 // extension := decimal-digit+ # at the end of string