Merge pull request #84755 from hnrklssn/cherry-pick-swiftify-import-as-method-6.2

Cherry-pick [6.2] [Swiftify] Add support for free functions imported as instance methods
This commit is contained in:
Henrik G. Olsson
2025-10-10 11:00:06 -07:00
committed by GitHub
14 changed files with 500 additions and 32 deletions

View File

@@ -100,6 +100,12 @@ GROUPED_WARNING(clang_ignored_sendable_attr, ClangDeclarationImport, none,
"cannot be added to it",
(Type))
GROUPED_WARNING(warn_clang_ignored_bounds_on_self, ClangDeclarationImport, none,
"bounds attribute '%0' ignored on parameter mapped to 'self'",
(StringRef))
NOTE(note_swift_name_instance_method, none,
"swift_name maps free function to instance method here", ())
WARNING(implicit_bridging_header_imported_from_module,none,
"implicit import of bridging header '%0' via module %1 "
"is deprecated and will be removed in a later version of Swift",