Skip to content

Commit 0ed635c

Browse files
committed
[Index] Apply small comments from PR review
1 parent a8f9800 commit 0ed635c

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/Index/IndexRecord.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,10 +536,6 @@ emitDataForSwiftSerializedModule(ModuleDecl *module,
536536
filename, skipIndexingModule);
537537
}
538538

539-
// FIXME: Would be useful for testing if swift had clang's -Rremark system so
540-
// we could output a remark here that we are going to create index data for
541-
// a module file.
542-
543539
// Pairs of (recordFile, groupName).
544540
std::vector<std::pair<std::string, std::string>> records;
545541

lib/Serialization/SerializedModuleLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ std::error_code ImplicitSerializedModuleLoader::findModuleFilesInDirectory(
447447

448448
if (LoadMode == ModuleLoadingMode::OnlyInterface ||
449449
(Ctx.IgnoreAdjacentModules && ModuleID.Item.str() != STDLIB_NAME &&
450-
ModuleID.Item.str() !=SWIFT_STRING_PROCESSING_NAME))
450+
ModuleID.Item.str() != SWIFT_STRING_PROCESSING_NAME))
451451
return std::make_error_code(std::errc::not_supported);
452452

453453
auto ModuleErr = openModuleFile(ModuleID, BaseName, ModuleBuffer);

0 commit comments

Comments
 (0)