mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModuleLoader: move PreferInterfaceForModules from SerializedModuleLoaderBase to ParseableInterfaceModuleLoader, NFC
We shouldn't over-expose this field since only ParseableInterfaceModuleLoader is using it.
This commit is contained in:
@@ -42,10 +42,8 @@ class SerializedModuleLoaderBase : public ModuleLoader {
|
||||
protected:
|
||||
ASTContext &Ctx;
|
||||
ModuleLoadingMode LoadMode;
|
||||
ArrayRef<std::string> PreferInterfaceForModules;
|
||||
SerializedModuleLoaderBase(ASTContext &ctx, DependencyTracker *tracker,
|
||||
ModuleLoadingMode LoadMode,
|
||||
ArrayRef<std::string> PreferInterfaceForModules = {});
|
||||
ModuleLoadingMode LoadMode);
|
||||
|
||||
void collectVisibleTopLevelModuleNamesImpl(SmallVectorImpl<Identifier> &names,
|
||||
StringRef extension) const;
|
||||
|
||||
Reference in New Issue
Block a user