diff options
author | Kazu Hirata <kazu@google.com> | 2023-10-03 18:39:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 18:39:59 -0700 |
commit | 9370271ec5debcb59e34629d5bd357c44213b2d3 (patch) | |
tree | be864bf4c10a2c860441048f9afc80bd600a9891 /llvm/lib/Object/ObjectFile.cpp | |
parent | d08fcc817eba7f0186620688eee73f6d25fa90e8 (diff) | |
download | llvm-9370271ec5debcb59e34629d5bd357c44213b2d3.zip llvm-9370271ec5debcb59e34629d5bd357c44213b2d3.tar.gz llvm-9370271ec5debcb59e34629d5bd357c44213b2d3.tar.bz2 |
[Support] Redefine endianness::native (#67876)
We should eventually migrate llvm::support::endianness to std::endian
when C++20 is available for the codebase.
This patch prepares our codebase for that future by removing the
assumption that native is a unique value different from both big and
little. Note that in C++20, native is equal to either big or little
on typical machines, where the endianness is the same for all scalar
types.
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions