[PATCH] D59141: [Support/Endian] Add support for endian-specific enums
Pavel Labath via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 8 10:22:20 PST 2019
On 08/03/2019 19:14, Zachary Turner wrote:
> Seems to me the variable templates in Endian.h are not specific to enums
> and may as well be called little_t and big_t. Thoughts?
Yes, the same thing occurred to me just before uploading the patch, but
then I decided to keep it and see what you think. I agree change that to
little_t is a good idea. I think it may be useful to be able to write
little_t<int32_t> in some generic code.
More information about the llvm-commits
mailing list