Skip to content

Commit ade2abb

Browse files
[NFC] Fix out-of-date documentation related to ModuleLoaders.
1 parent 5e8c4ad commit ade2abb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: include/swift/Serialization/SerializedModuleLoader.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ enum class ModuleLoadingMode {
3131
OnlySerialized
3232
};
3333

34-
/// Common functionality shared between \c SerializedModuleLoader and
35-
/// \c ModuleInterfaceLoader.
34+
/// Common functionality shared between \c SerializedModuleLoader,
35+
/// \c ModuleInterfaceLoader and \c MemoryBufferSerializedModuleLoader.
3636
class SerializedModuleLoaderBase : public ModuleLoader {
3737
/// A { module, generation # } pair.
3838
using LoadedModulePair = std::pair<std::unique_ptr<ModuleFile>, unsigned>;

Diff for: lib/AST/ModuleLoader.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ DependencyTracker::addDependency(StringRef File, bool IsSystem) {
3939
// DependencyTracker exposes an interface that (intentionally) does not talk
4040
// about clang at all, nor about missing deps. It does expose an IsSystem
4141
// dimension, which we accept and pass along to the clang DependencyCollector.
42-
// along to the clang DependencyCollector.
4342
clangCollector->maybeAddDependency(File, /*FromModule=*/false,
4443
IsSystem, /*IsModuleFile=*/false,
4544
/*IsMissing=*/false);

0 commit comments

Comments
 (0)