aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-09-12 00:26:54 -0700
committerGitHub <noreply@github.com>2025-09-12 00:26:54 -0700
commit152d0f5c0c0eaea369bf534b673d7625700ca7ef (patch)
treef4c6141bb1b0413dd10b1221c0864754ed02ff6a /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent3a2c8f7af8b38dd17649a42fc1f291d47f6e175d (diff)
downloadllvm-152d0f5c0c0eaea369bf534b673d7625700ca7ef.zip
llvm-152d0f5c0c0eaea369bf534b673d7625700ca7ef.tar.gz
llvm-152d0f5c0c0eaea369bf534b673d7625700ca7ef.tar.bz2
[Support] Deprecate one form of support::endian::write (NFC) (#156140)
We have two forms of write: template <typename value_type, std::size_t alignment = unaligned> inline void write(void *memory, value_type value, endianness endian) template <typename value_type, endianness endian, std::size_t alignment> inline void write(void *memory, value_type value) The difference is that endian is a function parameter in the former but a template parameter in the latter. This patch streamlines the code by migrating the use of the latter to the former while deprecating the latter. I'm planning to do the same for byte_swap and read in follow-up patches to keep this patch simple and small.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions