[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.
This commit is contained in:
Kazu Hirata 2025-11-07 07:58:40 -08:00 committed by GitHub
parent 563ea29932
commit de4d953246
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,10 +25,6 @@
using namespace llvm;
using namespace llvm::itanium_demangle;
constexpr const char *itanium_demangle::FloatData<float>::spec;
constexpr const char *itanium_demangle::FloatData<double>::spec;
constexpr const char *itanium_demangle::FloatData<long double>::spec;
// <discriminator> := _ <non-negative number> # when number < 10
// := __ <non-negative number> _ # when number >= 10
// extension := decimal-digit+ # at the end of string