[all-commits] [llvm/llvm-project] 77a01d: Sema: add support for `__attribute__((__swift_brid...

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Wed Sep 16 10:56:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 77a01d9498a79d2e6e3f366fdb363928f188ec11
      https://github.com/llvm/llvm-project/commit/77a01d9498a79d2e6e3f366fdb363928f188ec11
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2020-09-16 (Wed, 16 Sep 2020)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/Sema/SemaDeclAttr.cpp
    A clang/test/AST/attr-swift_bridge.m
    A clang/test/SemaObjC/attr-swift_bridge.m

  Log Message:
  -----------
  Sema: add support for `__attribute__((__swift_bridge__))`

This extends semantic analysis of attributes for Swift interoperability
by introducing the `swift_bridge` attribute.  This attribute enables
bridging Objective-C types to Swift specific types.

This is based on the work of the original changes in
https://github.com/llvm/llvm-project-staging/commit/8afaf3aad2af43cfedca7a24cd817848c4e95c0c

Differential Revision: https://reviews.llvm.org/D87532
Reviewed By: Aaron Ballman




More information about the All-commits mailing list