File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1477,12 +1477,6 @@ class APFloat : public APFloatBase {
14771477 friend class APFloatEBOChecker ;
14781478};
14791479
1480- class APFloatEBOChecker {
1481- static_assert (sizeof (APFloat) == sizeof (APFloat::U),
1482- " Empty base class optimization is not performed." );
1483- };
1484-
1485-
14861480// / See friend declarations above.
14871481// /
14881482// / These additional declarations are required in order to compile LLVM with IBM
Original file line number Diff line number Diff line change @@ -99,6 +99,11 @@ enum class fltNanEncoding {
9999 NegativeZero,
100100};
101101
102+ class APFloatEBOChecker {
103+ static_assert (sizeof (APFloat) == sizeof (APFloat::U),
104+ " Empty base class optimization is not performed." );
105+ };
106+
102107/* Represents floating point arithmetic semantics. */
103108struct fltSemantics {
104109 /* The largest E such that 2^E is representable; this matches the
You can’t perform that action at this time.
0 commit comments