Skip to content

Commit ae31e73

Browse files
committed
Add a comment to explain the reason of needing friend class APFloatEBOChecker to address review comment.
1 parent 6952f51 commit ae31e73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/ADT/APFloat.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,6 +1474,8 @@ class APFloat : public APFloatBase {
14741474
friend APFloat frexp(const APFloat &X, int &Exp, roundingMode RM);
14751475
friend IEEEFloat;
14761476
friend DoubleAPFloat;
1477+
// Since Storage is private, friend class APFloatEBOChecker is added to allow
1478+
// access to it in APFloat.cpp.
14771479
friend class APFloatEBOChecker;
14781480
};
14791481

0 commit comments

Comments
 (0)