mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/main' into manual-main-20240814
Conflicts: - `include/swift/Localization/LocalizationFormat.h` - `lib/ClangImporter/SwiftLookupTable.cpp` - `lib/ClangImporter/SwiftLookupTable.h` - `lib/Serialization/ModuleFormat.h` - `lib/Serialization/Serialization.cpp` All from the hash changes being added to main. Took main except for the lookup table minor version, which needs to be bumped still because of other changes.
This commit is contained in:
@@ -414,7 +414,7 @@ namespace {
|
||||
using offset_type = unsigned;
|
||||
|
||||
hash_value_type ComputeHash(key_type_ref key) {
|
||||
return static_cast<uint32_t>(key);
|
||||
return key;
|
||||
}
|
||||
|
||||
std::pair<unsigned, unsigned> EmitKeyDataLength(raw_ostream &out,
|
||||
@@ -459,7 +459,7 @@ namespace {
|
||||
using offset_type = unsigned;
|
||||
|
||||
hash_value_type ComputeHash(key_type_ref key) {
|
||||
return static_cast<uint32_t>(key);
|
||||
return key;
|
||||
}
|
||||
|
||||
std::pair<unsigned, unsigned>
|
||||
|
||||
Reference in New Issue
Block a user