File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -672,7 +672,8 @@ class IEEEFloat final {
672672
673673 integerPart addSignificand (const IEEEFloat &);
674674 integerPart subtractSignificand (const IEEEFloat &, integerPart);
675- lostFraction addOrSubtractSignificand (const IEEEFloat &, bool subtract);
675+ // Exported for IEEEFloatUnitTestHelper.
676+ LLVM_ABI lostFraction addOrSubtractSignificand (const IEEEFloat &, bool subtract);
676677 lostFraction multiplySignificand (const IEEEFloat &, IEEEFloat,
677678 bool ignoreAddend = false );
678679 lostFraction multiplySignificand (const IEEEFloat&);
Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ class [[nodiscard]] APInt {
561561 }
562562
563563 // / Overload to compute a hash_code for an APInt value.
564- friend hash_code hash_value (const APInt &Arg);
564+ LLVM_ABI friend hash_code hash_value (const APInt &Arg);
565565
566566 // / This function returns a pointer to the internal storage of the APInt.
567567 // / This is useful for writing out the APInt in binary form without any
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ class DynamicAPInt {
212212 friend DynamicAPInt operator /(int64_t A, const DynamicAPInt &B);
213213 friend DynamicAPInt operator %(int64_t A, const DynamicAPInt &B);
214214
215- friend hash_code hash_value (const DynamicAPInt &x); // NOLINT
215+ LLVM_ABI friend hash_code hash_value (const DynamicAPInt &x); // NOLINT
216216
217217 LLVM_ABI void static_assert_layout (); // NOLINT
218218
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ class TimerGroup {
258258
259259private:
260260 friend class Timer ;
261- friend void PrintStatisticsJSON (raw_ostream &OS);
261+ LLVM_ABI friend void PrintStatisticsJSON (raw_ostream &OS);
262262 void addTimer (Timer &T);
263263 void removeTimer (Timer &T);
264264 void prepareToPrintList (bool reset_time = false );
You can’t perform that action at this time.
0 commit comments