[libc-commits] [PATCH] D100571: [libc] Add endianness support
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Apr 16 06:18:02 PDT 2021
gchatelet added a comment.
Thx for the suggestion, I didn't go with explicit member function as it would allow for integer promotion.
In the case of endianness we want to make sure we only accept one of `uint8_t`, `uint16_t`, `uint32_t`, `uint64_t` and no other type.
I've added the symmetric functions as you suggested.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libc-commits