diff options
author | Kazu Hirata <kazu@google.com> | 2023-10-09 00:54:47 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-10-09 00:54:47 -0700 |
commit | d7b18d5083648c26b94adc2651edb87848138728 (patch) | |
tree | bb95102cfab60c76fed6bd2c6031a2c0dfb861d5 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | cb550c178d4aa98c153155e0f35e3fd6e4278ca5 (diff) | |
download | llvm-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.cpp | 2 |
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. |