mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the current option also includes semantic analysis.
This commit is contained in:
@@ -874,8 +874,8 @@ static bool performCompile(CompilerInstance &Instance,
|
||||
opts.ImplicitObjCHeaderPath.empty() &&
|
||||
!Context.LangOpts.EnableAppExtensionRestrictions;
|
||||
|
||||
// We've just been told to perform a parse, so we can return now.
|
||||
if (Action == FrontendOptions::Parse) {
|
||||
// We've just been told to perform a typecheck, so we can return now.
|
||||
if (Action == FrontendOptions::Typecheck) {
|
||||
if (!opts.ObjCHeaderOutputPath.empty())
|
||||
return printAsObjC(opts.ObjCHeaderOutputPath, Instance.getMainModule(),
|
||||
opts.ImplicitObjCHeaderPath, moduleIsPublic);
|
||||
|
||||
Reference in New Issue
Block a user