Revert "[NFC; Incremental] Rename BasicSourceFileInfo.InterfaceHash"

This commit is contained in:
David Ungar
2021-02-25 09:06:53 -08:00
committed by GitHub
parent 88c73c63d8
commit 6e034cac4e
6 changed files with 9 additions and 11 deletions

View File

@@ -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();