HomePhabricator

[API Notes] Add Swift versioning to API notes files
14fb7a6aef93Unpublished

Authored by doug.gregor on Oct 2 2016, 9:01 PM.

Unpublished Commit ยท Learn More

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

Description

[API Notes] Add Swift versioning to API notes files

Extend the API notes format with support for specifying API notes at a
particular Swift version. A single API notes file has "unversioned"
information, followed optionally by more information about the various
classes/functions/etc. at a specific Swift version. The intent is to
allow API notes to provide backward-compatibility information

Parse Swift-versioned API notes, store version API notes in the binary
format, and ensure that it round-trips. For now, Clang still only adds
attributes based on the unversioned information. This is the first
step of rdar://problem/28455809.

apple-llvm-split-commit: 16d41c34b0feb962d6974b311597944e74b7027b
apple-llvm-split-dir: clang/

Details

Committed
doug.gregorOct 3 2016, 12:42 AM
Parents
rGadd5eae71227: Propagating prior merge from 'llvm.org/master'.
Branches
Unknown
Tags
Unknown