HomePhabricator

Add a new attribute swift_bridged_typedef for typedef bridging.
bca07f06d339Unpublished

Authored by doug.gregor on Apr 27 2018, 3:39 PM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add a new attribute swift_bridged_typedef for typedef bridging.

When importing a typedef of a bridged type, Swift will use the
typedef-name to describe the unbridging version of the type (e.g.,
NSString). This attribute signals when Swift should instead import the
typedef using the bridged type (e.g., Swift's String).

Clang side of rdar://problem/39497900.

apple-llvm-split-commit: 4e2ac64d1cbae0903c80f2439d9379b95ffefa17
apple-llvm-split-dir: clang/

Details

Committed
doug.gregorApr 27 2018, 3:39 PM
Parents
rG34ec291b03e1: Propagating prior merge from 'llvm.org/master'.
Branches
Unknown
Tags
Unknown