HomePhabricator

[API Notes] Add a command-line option for Swift version selection.
11403d1119dfUnpublished

Authored by doug.gregor on Oct 3 2016, 12:12 AM.

Unpublished Commit ยท Learn More

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

Description

[API Notes] Add a command-line option for Swift version selection.

Introduce -fapinotes-swift-version=XX.YY, which sets the Swift version
to use when applying versioned API notes to the Clang AST. When set, a
versioned API note that matches the provided Swift version will take
precedence over an unversioned API note.

More of rdar://problem/28455809.

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

Details