Merge pull request #84507 from hnrklssn/swiftify-import-as-method

[Swiftify] Add support for free functions imported as instance methods

(cherry picked from commit ed4f058c01)
This commit is contained in:
Henrik G. Olsson
2025-10-04 00:40:00 -07:00
committed by Henrik G. Olsson
parent 7885b07d97
commit 6a9ac22cd2
14 changed files with 593 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",