[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:
Michael Gottesman
2016-10-27 09:03:41 -07:00
parent a3ee41c5fc
commit b038a91b8f
5 changed files with 20 additions and 1 deletions

View File

@@ -230,6 +230,9 @@ def emit_verbose_sil : Flag<["-"], "emit-verbose-sil">,
def enable_sil_ownership : Flag<["-"], "enable-sil-ownership">,
HelpText<"Enable the SIL Ownership Model">;
def assume_parsing_unqualified_ownership_sil : Flag<["-"], "assume-parsing-unqualified-ownership-sil">,
HelpText<"Assume unqualified SIL ownership when parsing SIL">;
def enable_experimental_property_behaviors :
Flag<["-"], "enable-experimental-property-behaviors">,
HelpText<"Enable experimental property behaviors">;