aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-10-03 18:39:59 -0700
committerGitHub <noreply@github.com>2023-10-03 18:39:59 -0700
commit9370271ec5debcb59e34629d5bd357c44213b2d3 (patch)
treebe864bf4c10a2c860441048f9afc80bd600a9891 /llvm/lib/Object/ObjectFile.cpp
parentd08fcc817eba7f0186620688eee73f6d25fa90e8 (diff)
downloadllvm-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