[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

@@ -116,6 +116,9 @@ public:
/// If set to true, compile with the SIL Ownership Model enabled.
bool EnableSILOwnership = false;
/// When parsing SIL, assume unqualified ownership.
bool AssumeUnqualifiedOwnershipWhenParsing = false;
};
} // end namespace swift