Skip to content

Commit de4d953

Browse files
[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.
1 parent 563ea29 commit de4d953

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Demangle/ItaniumDemangle.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525
using namespace llvm;
2626
using namespace llvm::itanium_demangle;
2727

28-
constexpr const char *itanium_demangle::FloatData<float>::spec;
29-
constexpr const char *itanium_demangle::FloatData<double>::spec;
30-
constexpr const char *itanium_demangle::FloatData<long double>::spec;
31-
3228
// <discriminator> := _ <non-negative number> # when number < 10
3329
// := __ <non-negative number> _ # when number >= 10
3430
// extension := decimal-digit+ # at the end of string

0 commit comments

Comments
 (0)