Rename llvm::support::endianness to llvm::endianness

LLVM is gearing up to move to `std::endianness` and as part of that has
moved `llvm::support::endianness` to `llvm::endianness`
(bbdbcd83e6702f314d147a680247058a899ba261). Rename our uses.
This commit is contained in:
Ben Barham
2024-03-13 20:26:29 -07:00
parent acd0efa67f
commit cacfd3e3ae
19 changed files with 208 additions and 191 deletions

View File

@@ -94,7 +94,8 @@ swift::createCompileJobCacheKeyForOutput(llvm::cas::ObjectStore &CAS,
// CacheKey is the index of the producting input + the base key.
// Encode the unsigned value as little endian in the field.
llvm::support::endian::write<uint32_t>(OS, InputIndex, llvm::support::little);
llvm::support::endian::write<uint32_t>(OS, InputIndex,
llvm::endianness::little);
return CAS.storeFromString({BaseKey}, OS.str());
}