mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user