diff options
author | Kazu Hirata <kazu@google.com> | 2023-10-12 21:21:44 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-10-12 21:21:45 -0700 |
commit | 4a0ccfa865437fe29ef2ecb18152df7694dddb7f (patch) | |
tree | 94df9df11f3172a15a522440a2175d6d1d9b6757 /llvm/lib/Object/WindowsResource.cpp | |
parent | 2045cca0c3d27f046c96257abfa11c769ce9b1ce (diff) | |
download | llvm-4a0ccfa865437fe29ef2ecb18152df7694dddb7f.zip llvm-4a0ccfa865437fe29ef2ecb18152df7694dddb7f.tar.gz llvm-4a0ccfa865437fe29ef2ecb18152df7694dddb7f.tar.bz2 |
Use llvm::endianness::{big,little,native} (NFC)
Note that llvm::support::endianness has been renamed to
llvm::endianness while becoming an enum class as opposed to an
enum. This patch replaces support::{big,little,native} with
llvm::endianness::{big,little,native}.
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
-rw-r--r-- | llvm/lib/Object/WindowsResource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/WindowsResource.cpp b/llvm/lib/Object/WindowsResource.cpp index 0764dc8..61ca49e 100644 --- a/llvm/lib/Object/WindowsResource.cpp +++ b/llvm/lib/Object/WindowsResource.cpp @@ -50,7 +50,7 @@ WindowsResource::WindowsResource(MemoryBufferRef Source) : Binary(Binary::ID_WinRes, Source) { size_t LeadingSize = WIN_RES_MAGIC_SIZE + WIN_RES_NULL_ENTRY_SIZE; BBS = BinaryByteStream(Data.getBuffer().drop_front(LeadingSize), - support::little); + llvm::endianness::little); } // static |