diff options
author | Kazu Hirata <kazu@google.com> | 2025-09-27 09:05:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-27 09:05:16 -0700 |
commit | 798ccd2e4722b228317e8a30dd3624a0308a927e (patch) | |
tree | a2c4d3a6893139e001a1db68b1b49051fbf17a6e /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 3163fcfa453dce61aa06da05272a660b18407623 (diff) | |
download | llvm-798ccd2e4722b228317e8a30dd3624a0308a927e.zip llvm-798ccd2e4722b228317e8a30dd3624a0308a927e.tar.gz llvm-798ccd2e4722b228317e8a30dd3624a0308a927e.tar.bz2 |
[Support] Deprecate one form of support::endian::read (NFC) (#160979)
This is a follow-up to #156140, which deprecated one form of write.
We have two forms of read:
template <typename value_type, std::size_t alignment>
[[nodiscard]] inline value_type read(const void *memory, endianness
endian)
template <typename value_type, endianness endian, std::size_t alignment>
[[nodiscard]] inline value_type read(const void *memory)
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.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions