From de4d95324656bf06fc198a72dc4ca2137904d3ad Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 7 Nov 2025 07:58:40 -0800 Subject: [PATCH] [Demangle] Remove redundant declarations (NFC) (#166895) 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 1009cc91ca12..8e476cdafdb7 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