Skip to content

Commit dcf5af4

Browse files
committed
Update FIXMEs on diagnostic definitions that will be obsoleted in the future.
1 parent ebfb94e commit dcf5af4

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

include/swift/AST/DiagnosticsParse.def

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,11 +1559,11 @@ ERROR(attr_availability_duplicate,none,
15591559
(StringRef, StringRef))
15601560

15611561
// originallyDefinedIn
1562-
// FIXME: Refactor to share between attributes
1562+
// FIXME(backDeploy): Refactor to share with back deployment attr
15631563
ERROR(originally_defined_in_missing_rparen,none,
15641564
"expected ')' in @_originallyDefinedIn argument list", ())
15651565

1566-
// FIXME: Refactor to share between attributes
1566+
// FIXME(backDeploy): Refactor to share with back deployment attr
15671567
ERROR(originally_defined_in_unrecognized_platform,none,
15681568
"unrecognized platform name in @_originallyDefinedIn argument list", ())
15691569

@@ -1578,19 +1578,19 @@ ERROR(originally_defined_in_need_original_module_name,none,
15781578
ERROR(originally_defined_in_need_nonempty_module_name,none,
15791579
"original module name cannot be empty in @_originallyDefinedIn", ())
15801580

1581-
// FIXME: Refactor to share between attributes
1581+
// FIXME(backDeploy): Refactor to share with back deployment attr
15821582
ERROR(originally_defined_in_need_platform_version,none,
15831583
"expected at least one platform version in @_originallyDefinedIn", ())
15841584

1585-
// FIXME: Refactor to share between attributes
1585+
// FIXME(backDeploy): Refactor to share with back deployment attr
15861586
WARNING(originally_defined_in_major_minor_only,none,
15871587
"@_originallyDefinedIn only uses major and minor version number", ())
15881588

1589-
// FIXME: Refactor to share between attributes
1589+
// FIXME(backDeploy): Refactor to share with back deployment attr
15901590
WARNING(originally_defined_in_missing_platform_name,none,
15911591
"* as platform name has no effect", ())
15921592

1593-
// FIXME: Refactor to share between attributes
1593+
// FIXME(backDeploy): Refactor to share with back deployment attr
15941594
WARNING(originally_defined_in_swift_version, none,
15951595
"Swift language version checks has no effect "
15961596
"in @_originallyDefinedIn", ())

include/swift/AST/DiagnosticsSema.def

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,21 +1597,21 @@ WARNING(option_set_zero_constant,none,
15971597
NOTE(option_set_empty_set_init,none,
15981598
"use [] to silence this warning", ())
15991599

1600-
// FIXME: Refactor to share between attributes
1600+
// FIXME(backDeploy): Refactor to share with back deployment attr
16011601
ERROR(originally_defined_in_dupe_platform,none,
16021602
"duplicate version number for platform %0", (StringRef))
16031603

16041604
ERROR(originally_definedin_topleve_decl,none,
16051605
"@%0 is only applicable to top-level decl", (StringRef))
16061606

1607-
// FIXME: Refactor to share between attributes
1607+
// FIXME(backDeploy): Refactor to share with back deployment attr
16081608
ERROR(originally_definedin_need_available,none,
16091609
"need @available attribute for @%0", (StringRef))
16101610

16111611
ERROR(originally_definedin_must_not_before_available_version,none,
16121612
"symbols are moved to the current module before they were available in the OSs", (StringRef))
16131613

1614-
// FIXME: Refactor to share between attributes
1614+
// FIXME(backDeploy): Refactor to share with back deployment attr
16151615
WARNING(originally_defined_in_on_non_public,
16161616
none, "@%0 does not have any effect on "
16171617
"%select{private|fileprivate|internal|%error|%error}1 declarations",

0 commit comments

Comments
 (0)