ModuleLoader: remove several walk-arounds for not having a persistent ClangImporterOptions available. NFC

This commit is contained in:
Xi Ge
2020-09-02 09:34:35 -07:00
parent 773eec1a71
commit a4d731ed9f
8 changed files with 24 additions and 49 deletions

View File

@@ -420,8 +420,8 @@ public:
DiagnosticEngine &Diags,
const SearchPathOptions &searchPathOpts,
const LangOptions &langOpts,
const ClangImporterOptions &clangImporterOpts,
ModuleInterfaceLoaderOptions LoaderOpts,
ClangModuleLoader *clangImporter,
bool buildModuleCacheDirIfAbsent,
StringRef moduleCachePath,
StringRef prebuiltCachePath,
@@ -448,7 +448,6 @@ public:
llvm::SmallString<256> &OutPath,
StringRef &CacheHash);
std::string getCacheHash(StringRef useInterfacePath);
void addExtraClangArg(StringRef Arg);
};
}