ModuleLoader: refactor computePrebuiltModulePath to facilitate dependencies scanner's invocation, NFC

This commit is contained in:
Xi Ge
2020-06-25 18:29:34 -07:00
parent 336d63faf4
commit a5369475ab
3 changed files with 121 additions and 83 deletions

View File

@@ -445,7 +445,12 @@ public:
}
};
Optional<StringRef>
computePrebuiltModulePath(ASTContext &ctx,
StringRef interfacePath,
StringRef prebuiltCacheDir,
StringRef moduleName,
llvm::SmallString<256> &scratch);
} // end namespace swift
#endif