HomePhabricator

Add a new attribute swift_bridged_typedef for typedef bridging.

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

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