mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #40494 from apple/es-complete
[Module Aliasing] Add module aliasing option to swift-ide-test Add module aliasing handling in code complete Resolves rdar://86294338
This commit is contained in:
@@ -263,6 +263,11 @@ void CompilerInvocation::setSDKPath(const std::string &Path) {
|
||||
updateRuntimeLibraryPaths(SearchPathOpts, LangOpts.Target);
|
||||
}
|
||||
|
||||
bool CompilerInvocation::setModuleAliasMap(std::vector<std::string> args,
|
||||
DiagnosticEngine &diags) {
|
||||
return ModuleAliasesConverter::computeModuleAliases(args, FrontendOpts, diags);
|
||||
}
|
||||
|
||||
static bool ParseFrontendArgs(
|
||||
FrontendOptions &opts, ArgList &args, DiagnosticEngine &diags,
|
||||
SmallVectorImpl<std::unique_ptr<llvm::MemoryBuffer>> *buffers) {
|
||||
|
||||
Reference in New Issue
Block a user