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 {
672
672
673
673
integerPart addSignificand (const IEEEFloat &);
674
674
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);
676
677
lostFraction multiplySignificand (const IEEEFloat &, IEEEFloat,
677
678
bool ignoreAddend = false );
678
679
lostFraction multiplySignificand (const IEEEFloat&);
Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ class [[nodiscard]] APInt {
561
561
}
562
562
563
563
// / 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);
565
565
566
566
// / This function returns a pointer to the internal storage of the APInt.
567
567
// / 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 {
212
212
friend DynamicAPInt operator /(int64_t A, const DynamicAPInt &B);
213
213
friend DynamicAPInt operator %(int64_t A, const DynamicAPInt &B);
214
214
215
- friend hash_code hash_value (const DynamicAPInt &x); // NOLINT
215
+ LLVM_ABI friend hash_code hash_value (const DynamicAPInt &x); // NOLINT
216
216
217
217
LLVM_ABI void static_assert_layout (); // NOLINT
218
218
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ class TimerGroup {
258
258
259
259
private:
260
260
friend class Timer ;
261
- friend void PrintStatisticsJSON (raw_ostream &OS);
261
+ LLVM_ABI friend void PrintStatisticsJSON (raw_ostream &OS);
262
262
void addTimer (Timer &T);
263
263
void removeTimer (Timer &T);
264
264
void prepareToPrintList (bool reset_time = false );
You can’t perform that action at this time.
0 commit comments