llvm/include/llvm/ADT/bit.h now has equivalent functions
forward-ported from C++20.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Clang diagnostics do not use capitalization or have a trailing period (https://llvm.org/docs/CodingStandards.html#error-and-warning-messages). Conforming to that style will be better, though I do not really care whether it's capitalized or not.
llvm/unittests/Support/MathExtrasTest.cpp | ||
---|---|---|
66 | I'm not sure what our policy is regarding test coverage - but I'd expect these to stay until we actually remove the functions being tests? |
llvm/unittests/Support/MathExtrasTest.cpp | ||
---|---|---|
66 | I think I have to remove these tests. Leaving them would cause warnings, so that would in turn block -Werror builds. In any event, I think the risk is pretty low; I deprecate functions after migrate their uses first. |
I'm not sure what our policy is regarding test coverage - but I'd expect these to stay until we actually remove the functions being tests?