mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[semantic-arc] Add the assume-parsing-unqualified-ownership-sil argument ath forces the Parser to assume that all parsed code is unqualified. This overrides the parser ownership heuristic.
This commit is contained in:
@@ -1153,6 +1153,8 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
|
||||
Opts.DisableSILPartialApply |=
|
||||
Args.hasArg(OPT_disable_sil_partial_apply);
|
||||
Opts.EnableSILOwnership |= Args.hasArg(OPT_enable_sil_ownership);
|
||||
Opts.AssumeUnqualifiedOwnershipWhenParsing
|
||||
|= Args.hasArg(OPT_assume_parsing_unqualified_ownership_sil);
|
||||
|
||||
if (Args.hasArg(OPT_debug_on_sil)) {
|
||||
// Derive the name of the SIL file for debugging from
|
||||
|
||||
Reference in New Issue
Block a user