Skip to content

Commit 369e6d3

Browse files
authored
Merge pull request swiftlang#79413 from beccadax/negative-the-predicates-had-no-effect
[PrintAsClang] Kill declaration sorting bugs super-dead
2 parents dcba66f + f26a6fb commit 369e6d3

File tree

222 files changed

+558
-442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+558
-442
lines changed

include/swift/AST/DiagnosticsSema.def

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6345,6 +6345,17 @@ ERROR(invalid_objc_swift_rooted_class,none,
63456345
NOTE(invalid_objc_swift_root_class_insert_nsobject,none,
63466346
"inherit from 'NSObject' to silence this error", ())
63476347

6348+
WARNING(objc_header_sorting_arbitrary,none,
6349+
"arbitrarily printing %0 before %1 in generated header; subsequent "
6350+
"compilations may print them in a different order",
6351+
(Decl *, Decl *))
6352+
NOTE(objc_header_sorting_arbitrary_other,none,
6353+
"%1 will be printed after %0 during this compilation",
6354+
(Decl *, Decl *))
6355+
NOTE(objc_header_sorting_arbitrary_please_report,none,
6356+
"please report this as a bug in the Swift compiler and describe both "
6357+
"declarations", ())
6358+
63486359
ERROR(invalid_nonobjc_decl,none,
63496360
"only class members and extensions of classes can be declared @nonobjc", ())
63506361
ERROR(invalid_nonobjc_extension,none,

0 commit comments

Comments
 (0)