Skip to content

Commit 0f76fbf

Browse files
[Support] Remove redundant declarations (NFC) (#165971)
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 83195d9 commit 0f76fbf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/Support/APFloat.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,6 @@ bool APFloatBase::isRepresentableBy(const fltSemantics &A,
269269
A.precision <= B.precision;
270270
}
271271

272-
constexpr RoundingMode APFloatBase::rmNearestTiesToEven;
273-
constexpr RoundingMode APFloatBase::rmTowardPositive;
274-
constexpr RoundingMode APFloatBase::rmTowardNegative;
275-
constexpr RoundingMode APFloatBase::rmTowardZero;
276-
constexpr RoundingMode APFloatBase::rmNearestTiesToAway;
277-
278272
/* A tight upper bound on number of parts required to hold the value
279273
pow(5, power) is
280274

0 commit comments

Comments
 (0)