mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[fixcode] Enabled protocol<...> fixits
The old syntax is deprecated in swift 3, and these fixits seem quite safe, so apply them for migration. rdar://problem/27794981
This commit is contained in:
@@ -635,7 +635,10 @@ private:
|
||||
Info.ID == diag::selector_construction_suggest.ID ||
|
||||
Info.ID == diag::selector_literal_deprecated_suggest.ID ||
|
||||
Info.ID == diag::attr_noescape_deprecated.ID ||
|
||||
Info.ID == diag::attr_autoclosure_escaping_deprecated.ID)
|
||||
Info.ID == diag::attr_autoclosure_escaping_deprecated.ID ||
|
||||
Info.ID == diag::deprecated_protocol_composition.ID ||
|
||||
Info.ID == diag::deprecated_protocol_composition_single.ID ||
|
||||
Info.ID == diag::deprecated_any_composition.ID)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user