Skip to content

Commit a29700e

Browse files
committed
[noescape by default] Migration should apply @NoEscape deprecation fixits
1 parent caa9d67 commit a29700e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/FrontendTool/FrontendTool.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,11 @@ class JSONFixitWriter : public DiagnosticConsumer {
629629
Info.ID == diag::noescape_autoclosure.ID ||
630630
Info.ID == diag::where_inside_brackets.ID ||
631631
Info.ID == diag::selector_construction_suggest.ID ||
632-
Info.ID == diag::selector_literal_deprecated_suggest.ID)
632+
Info.ID == diag::selector_literal_deprecated_suggest.ID ||
633+
Info.ID == diag::attr_noescape_deprecated.ID ||
634+
Info.ID == diag::attr_autoclosure_escaping_deprecated.ID)
633635
return true;
636+
634637
return false;
635638
}
636639

0 commit comments

Comments
 (0)