diff options
author | Kazu Hirata <kazu@google.com> | 2023-10-05 09:17:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 09:17:09 -0700 |
commit | 6b31b026006ee688019e7cf762ab1641df8ff8f6 (patch) | |
tree | a7e95d4fd25384d9627cb4a772b493fb3ce02e64 /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp | |
parent | b9383a86b8fef1df6f2e8fff2578c6380bf39604 (diff) | |
download | llvm-6b31b026006ee688019e7cf762ab1641df8ff8f6.zip llvm-6b31b026006ee688019e7cf762ab1641df8ff8f6.tar.gz llvm-6b31b026006ee688019e7cf762ab1641df8ff8f6.tar.bz2 |
[Support] Deprecate system_endianness (#68279)
system_endianness() just returns llvm::endianness::native, a
compile-time constant equivalent to std::native in C++20. This patch
deprecates system_endianness() while replacing all invocations of
system_endianness() with llvm::endianness::native.
While we are at it, this patch replaces
llvm::support::endianness::{big,little} with
llvm::endianness::{big,little} in those statements that happen to call
system_endianness(). It does not go out of its way to replace other
occurrences of llvm::support::endianness::{big,little}.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
0 files changed, 0 insertions, 0 deletions