Theses functions were added in fd1e5aa8dffa8b26e59fb340668b264b9ac80382
without a declaration.
Details
Details
- Reviewers
timshen nikic - Commits
- rG466dc5c3e779: APFloat: Add some missing function declarations
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
There were friend function declarations added for these functions to the DoubleAPFloat class, but no actual declarations.
Comment Actions
We probably don't support constant folding for pcc_fp128. Or at least I don't see how it would work without the declarations.
Comment Actions
D149587 introduces the constant folding of ldexp. I haven't gotten around to posting the frexp patch yet
Comment Actions
Oh, I see. I think the reason this works is ADL, which also finds friend declarations even if not declared at namespace level.
llvm/include/llvm/ADT/APFloat.h | ||
---|---|---|
1459 | These declarations should probably be next to hash_code hash_value(const DoubleAPFloat &Arg); above, rather than these definitions. |
These declarations should probably be next to hash_code hash_value(const DoubleAPFloat &Arg); above, rather than these definitions.