HomePhabricator

[API Notes] Load API notes from framework/header search paths.

Authored by doug.gregor on Sep 27 2016, 8:14 PM.

Description

[API Notes] Load API notes from framework/header search paths.

Introduce a new command-line flag, -fapinotes-modules, that loads
module-specific API notes based on where the module map itself was
provided, e.g., within the framework
(Foo.framework/APINotes/Foo.apinotes) or alongside the headers
(ModuleName.apinotes). If found here, these take precedence over the
module-specific API notes in the API notes search paths
(-iapinotes-modules XXX).

Fixes rdar://problem/28511719.

apple-llvm-split-commit: 1452c9a3b67ad9bedc9c027e2075b0116e92a979
apple-llvm-split-dir: clang/

Details

Committed
doug.gregorSep 27 2016, 11:39 PM
Parents
rG22fe14c242f8: [API Notes] Use std::make_tuple to unbreak libstdc++ build.
Branches
Unknown
Tags
Unknown