Skip to content
Unverified Commit 9370271e authored by Kazu Hirata's avatar Kazu Hirata Committed by GitHub
Browse files

[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.
parent d08fcc81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment