aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-10-09 00:54:47 -0700
committerKazu Hirata <kazu@google.com>2023-10-09 00:54:47 -0700
commitd7b18d5083648c26b94adc2651edb87848138728 (patch)
treebb95102cfab60c76fed6bd2c6031a2c0dfb861d5 /clang/lib/Frontend/CompilerInvocation.cpp
parentcb550c178d4aa98c153155e0f35e3fd6e4278ca5 (diff)
downloadllvm-d7b18d5083648c26b94adc2651edb87848138728.zip
llvm-d7b18d5083648c26b94adc2651edb87848138728.tar.gz
llvm-d7b18d5083648c26b94adc2651edb87848138728.tar.bz2
Use llvm::endianness{,::little,::native} (NFC)
Now that llvm::support::endianness has been renamed to llvm::endianness, we can use the shorter form. This patch replaces llvm::support::endianness with llvm::endianness.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index f2fe904..bb44249 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -4630,7 +4630,7 @@ bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Invocation,
std::string CompilerInvocation::getModuleHash() const {
// FIXME: Consider using SHA1 instead of MD5.
- llvm::HashBuilder<llvm::MD5, llvm::support::endianness::native> HBuilder;
+ llvm::HashBuilder<llvm::MD5, llvm::endianness::native> HBuilder;
// Note: For QoI reasons, the things we use as a hash here should all be
// dumped via the -module-info flag.