HomePhabricator

Map FactoryAsInit: C to a hidden attribute.
68da16cdc07eUnpublished

Authored by doug.gregor on Feb 18 2016, 4:36 PM.

Unpublished Commit ยท Learn More

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

Description

Map FactoryAsInit: C to a hidden attribute.

The FactoryAsInit entry in API notes wasn't getting mapped to any
Clang attributes. Since there is no use for such an attribute purely
in Objective-C, map it to a new unspellable attribute
(SwiftSuppressFactoryAsInitAttr) used only to appropriately annotate
the declaration for consumption by the Swift Clang importer.

Part of rdar://problem/24447420.

apple-llvm-split-commit: 726aaee07233449a0ade9c09708eb3141d3af865
apple-llvm-split-dir: clang/

Details

Committed
doug.gregorFeb 18 2016, 4:36 PM
Parents
rG0ea15e7d7749: Add -iapinotes-modules search path option.
Branches
Unknown
Tags
Unknown