Details
- Reviewers
jloser EricWF - Group Reviewers
Restricted Project - Commits
- rG21ba9d0b62c1: [libc++][NFC] Merges unused functions in callers.
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/test/libcxx/numerics/bit.ops.pass.cpp | ||
---|---|---|
34 | This is a drop in test coverage - I think we should keep this one for __bit_log2. In general, I think we should:
How does that sound? If you're up for it, we could go one step further and verify the noexcept properties. |
Thanks for the reviews!
libcxx/test/libcxx/numerics/bit.ops.pass.cpp | ||
---|---|---|
34 | I disagree it's a drop in test coverage. The function is indirectly tested by its callers. This is the only function "dropped" the other two remaining functions are still tested. I think it's useful to validate the noexcept status when it's not mandated by the Standard. |
libcxx/test/libcxx/numerics/bit.ops.pass.cpp | ||
---|---|---|
34 | Valid point. It is indirectly tested with bit_floor and bit_width, though I do like the direct testing of it - thanks for adding that back. Appreciate the added tests in general - LGTM! |
This is a drop in test coverage - I think we should keep this one for __bit_log2. In general, I think we should:
How does that sound? If you're up for it, we could go one step further and verify the noexcept properties.