mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Exit early args are invalid
Add batch-code-compelte test
This commit is contained in:
@@ -262,9 +262,9 @@ void CompilerInvocation::setSDKPath(const std::string &Path) {
|
||||
updateRuntimeLibraryPaths(SearchPathOpts, LangOpts.Target);
|
||||
}
|
||||
|
||||
void CompilerInvocation::setModuleAliasMap(std::vector<std::string> args,
|
||||
bool CompilerInvocation::setModuleAliasMap(std::vector<std::string> args,
|
||||
DiagnosticEngine &diags) {
|
||||
ModuleAliasesConverter::computeModuleAliases(args, FrontendOpts, diags);
|
||||
return ModuleAliasesConverter::computeModuleAliases(args, FrontendOpts, diags);
|
||||
}
|
||||
|
||||
static bool ParseFrontendArgs(
|
||||
|
||||
Reference in New Issue
Block a user