We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aad7259 commit 462a31fCopy full SHA for 462a31f
llvm/include/llvm/ADT/APFloat.h
@@ -859,13 +859,6 @@ class APFloat : public APFloatBase {
859
APFLOAT_DISPATCH_ON_SEMANTICS(makeSmallestNormalized(Neg));
860
}
861
862
- // FIXME: This is due to clang 3.3 (or older version) always checks for the
863
- // default constructor in an array aggregate initialization, even if no
864
- // elements in the array is default initialized.
865
- APFloat() : U(IEEEdouble()) {
866
- llvm_unreachable("This is a workaround for old clang.");
867
- }
868
-
869
explicit APFloat(IEEEFloat F, const fltSemantics &S) : U(std::move(F), S) {}
870
explicit APFloat(DoubleAPFloat F, const fltSemantics &S)
871
: U(std::move(F), S) {}
0 commit comments