mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Exclusivity] Put suppression for free function swap() behind a flag
And leave suppression off by default for now. We'll use this to evaluate how often swap() causes exclusivity conflicts to be reported.
This commit is contained in:
@@ -256,6 +256,9 @@ def disable_mandatory_semantic_arc_opts : Flag<["-"], "disable-mandatory-semanti
|
||||
def assume_parsing_unqualified_ownership_sil : Flag<["-"], "assume-parsing-unqualified-ownership-sil">,
|
||||
HelpText<"Assume unqualified SIL ownership when parsing SIL">;
|
||||
|
||||
def suppress_static_exclusivity_swap : Flag<["-"], "suppress-static-exclusivity-swap">,
|
||||
HelpText<"Suppress static violations of exclusive access with swap()">;
|
||||
|
||||
def enable_sil_opaque_values : Flag<["-"], "enable-sil-opaque-values">,
|
||||
HelpText<"Enable SIL Opaque Values">;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user