diff options
author | Kazu Hirata <kazu@google.com> | 2023-10-10 20:14:20 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-10-10 20:14:20 -0700 |
commit | b05dbc4d5f28e4fe6ac4486925e09d64861720cc (patch) | |
tree | bfa660724a2d6b55b56e0f4efcd199828b70439a /llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp | |
parent | 8c67c48591fbf76559a8b39e68c88c4da0a40218 (diff) | |
download | llvm-b05dbc4d5f28e4fe6ac4486925e09d64861720cc.zip llvm-b05dbc4d5f28e4fe6ac4486925e09d64861720cc.tar.gz llvm-b05dbc4d5f28e4fe6ac4486925e09d64861720cc.tar.bz2 |
[llvm] Use llvm::endianness::{big,little,native} (NFC)
Now that llvm::support::endianness has been renamed to
llvm::endianness, we can use the shorter form. This patch replaces
support::endianness::{big,little,native} with
llvm::endianness::{big,little,native}.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp b/llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp index 8ed9cad..9bbb866 100644 --- a/llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp +++ b/llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp @@ -542,7 +542,7 @@ Expected<support::endianness> DLLImportDefinitionGenerator::getTargetEndianness(const Triple &TT) { switch (TT.getArch()) { case Triple::x86_64: - return support::endianness::little; + return llvm::endianness::little; default: return make_error<StringError>( "architecture unsupported by DLLImportDefinitionGenerator", |