HomePhabricator

[APINotes] Preserve attributes from inactive versions. (#53)

Authored by jordan_rose on Jan 11 2017, 3:02 PM.

Description

[APINotes] Preserve attributes from inactive versions. (#53)

...by wrapping them in another (new) attribute, SwiftVersionedAttr,
or by noting their deletion in a SwiftVersionedRemovalAttr.

This doesn't support other kinds of changes that can be made via API
notes, such as nullability or wholesale type changes, but it's a place
to start, and possibly sufficient for our goals.

Part of rdar://problem/28618121.

apple-llvm-split-commit: f8c16c2a4e80fedd9df549da57af8b4f8f09aef0
apple-llvm-split-dir: clang/

Details

Committed
GitHub <noreply@github.com>Jan 11 2017, 3:02 PM
Parents
rG4418e0cbf75c: Propagating prior merge from 'llvm.org/master'.
Branches
Unknown
Tags
Unknown