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

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Tue Sep 15 13:16:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d26d6a1b062f7ce820b02b39d102d5f8f15fa5f
      https://github.com/llvm/llvm-project/commit/7d26d6a1b062f7ce820b02b39d102d5f8f15fa5f
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2020-09-15 (Tue, 15 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_bridged_typedef.m
    A clang/test/AST/attr-swift_bridged_typedef.mm
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    A clang/test/SemaObjC/attr-swift_bridged_typedef.m

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

Extend the semantic attributes that clang processes for Swift to include
`swift_bridged_typedef`.  This attribute enables typedefs to be bridged
into Swift with a bridged name.

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/D87396
Reviewed By: Aaron Ballman




More information about the All-commits mailing list