[all-commits] [llvm/llvm-project] f6c395: [Clang][Sema] Allow qualified type names in `swift...

Egor Zhdan via All-commits all-commits at lists.llvm.org
Thu Jun 26 10:57:07 PDT 2025


  Branch: refs/heads/users/egorzhdan/allow-qual-swift-name
  Home:   https://github.com/llvm/llvm-project
  Commit: f6c3959927e724d0746e343b02abfc1f9f948914
      https://github.com/llvm/llvm-project/commit/f6c3959927e724d0746e343b02abfc1f9f948914
  Author: Egor Zhdan <e_zhdan at apple.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M clang/lib/Sema/SemaSwift.cpp
    M clang/test/SemaObjCXX/attr-swift_name-cxx.mm

  Log Message:
  -----------
  [Clang][Sema] Allow qualified type names in `swift_name` attribute

This allows adding `__attribute__((swift_name("MyNamespace.MyType.my_method()")))` on standalone C++ functions to make Swift import them as member functions of a type that is nested in a C++ namespace.

rdar://138934888



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list