mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Revert "[NFC; Incremental] Rename BasicSourceFileInfo.InterfaceHash"
This commit is contained in:
@@ -978,7 +978,7 @@ void ModuleFile::collectBasicSourceFileInfo(
|
||||
while (Cursor < End) {
|
||||
// FilePath (byte offset in 'SourceLocsTextData').
|
||||
auto fileID = endian::readNext<uint32_t, little, unaligned>(Cursor);
|
||||
// InterfaceHashIncludingTypeMembers (fixed length string).
|
||||
// InterfaceHash (fixed length string).
|
||||
auto fpStr = StringRef{reinterpret_cast<const char *>(Cursor),
|
||||
Fingerprint::DIGEST_LENGTH};
|
||||
Cursor += Fingerprint::DIGEST_LENGTH;
|
||||
@@ -995,7 +995,7 @@ void ModuleFile::collectBasicSourceFileInfo(
|
||||
BasicSourceFileInfo info;
|
||||
info.FilePath = filePath;
|
||||
if (auto fingerprint = Fingerprint::fromString(fpStr))
|
||||
info.InterfaceHashIncludingTypeMembers = fingerprint.getValue();
|
||||
info.InterfaceHash = fingerprint.getValue();
|
||||
else {
|
||||
llvm::errs() << "Unconvertable fingerprint '" << fpStr << "'\n";
|
||||
abort();
|
||||
|
||||
Reference in New Issue
Block a user