mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Rename "Name Binding" action to "Resolve Imports"
This commit is contained in:
@@ -898,8 +898,8 @@ static bool performCompile(CompilerInstance &Instance,
|
||||
if (FrontendOptions::shouldActionOnlyParse(Action)) {
|
||||
Instance.performParseOnly(/*EvaluateConditionals*/
|
||||
Action == FrontendOptions::ActionType::EmitImportedModules);
|
||||
} else if (Action == FrontendOptions::ActionType::NameBind) {
|
||||
Instance.performParseAndNameBindingOnly();
|
||||
} else if (Action == FrontendOptions::ActionType::ResolveImports) {
|
||||
Instance.performParseAndResolveImportsOnly();
|
||||
} else {
|
||||
Instance.performSema();
|
||||
}
|
||||
@@ -922,7 +922,7 @@ static bool performCompile(CompilerInstance &Instance,
|
||||
(void)emitMakeDependenciesIfNeeded(Context.Diags,
|
||||
Instance.getDependencyTracker(), opts);
|
||||
|
||||
if (Action == FrontendOptions::ActionType::NameBind)
|
||||
if (Action == FrontendOptions::ActionType::ResolveImports)
|
||||
return Context.hadError();
|
||||
|
||||
if (observer)
|
||||
|
||||
Reference in New Issue
Block a user