@@ -572,7 +572,7 @@ class IEEEFloat final {
572572 // / emphasizes producing different codes for different inputs in order to
573573 // / be used in canonicalization and memoization. As such, equality is
574574 // / bitwiseIsEqual, and 0 != -0.
575- LLVM_ABI_FRIEND friend hash_code hash_value (const IEEEFloat &Arg);
575+ LLVM_ABI friend hash_code hash_value (const IEEEFloat &Arg);
576576
577577 // / Converts this value into a decimal string.
578578 // /
@@ -629,13 +629,12 @@ class IEEEFloat final {
629629 // / 0 -> \c IEK_Zero
630630 // / Inf -> \c IEK_Inf
631631 // /
632- LLVM_ABI_FRIEND friend int ilogb (const IEEEFloat &Arg);
632+ LLVM_ABI friend int ilogb (const IEEEFloat &Arg);
633633
634634 // / Returns: X * 2^Exp for integral exponents.
635- LLVM_ABI_FRIEND friend IEEEFloat scalbn (IEEEFloat X, int Exp, roundingMode);
635+ LLVM_ABI friend IEEEFloat scalbn (IEEEFloat X, int Exp, roundingMode);
636636
637- LLVM_ABI_FRIEND friend IEEEFloat frexp (const IEEEFloat &X, int &Exp,
638- roundingMode);
637+ LLVM_ABI friend IEEEFloat frexp (const IEEEFloat &X, int &Exp, roundingMode);
639638
640639 // / \name Special value setters.
641640 // / @{
@@ -906,11 +905,11 @@ class DoubleAPFloat final {
906905 LLVM_ABI LLVM_READONLY int getExactLog2 () const ;
907906 LLVM_ABI LLVM_READONLY int getExactLog2Abs () const ;
908907
909- LLVM_ABI_FRIEND friend DoubleAPFloat scalbn (const DoubleAPFloat &X, int Exp,
910- roundingMode);
911- LLVM_ABI_FRIEND friend DoubleAPFloat frexp (const DoubleAPFloat &X, int &Exp,
912- roundingMode);
913- LLVM_ABI_FRIEND friend hash_code hash_value (const DoubleAPFloat &Arg);
908+ LLVM_ABI friend DoubleAPFloat scalbn (const DoubleAPFloat &X, int Exp,
909+ roundingMode);
910+ LLVM_ABI friend DoubleAPFloat frexp (const DoubleAPFloat &X, int &Exp,
911+ roundingMode);
912+ LLVM_ABI friend hash_code hash_value (const DoubleAPFloat &Arg);
914913};
915914
916915LLVM_ABI hash_code hash_value (const DoubleAPFloat &Arg);
@@ -1518,7 +1517,7 @@ class APFloat : public APFloatBase {
15181517 APFLOAT_DISPATCH_ON_SEMANTICS (getExactLog2 ());
15191518 }
15201519
1521- LLVM_ABI_FRIEND friend hash_code hash_value (const APFloat &Arg);
1520+ LLVM_ABI friend hash_code hash_value (const APFloat &Arg);
15221521 friend int ilogb (const APFloat &Arg) { return ilogb (Arg.getIEEE ()); }
15231522 friend APFloat scalbn (APFloat X, int Exp, roundingMode RM);
15241523 friend APFloat frexp (const APFloat &X, int &Exp, roundingMode RM);
0 commit comments