HomePhabricator

Add -iapinotes-modules search path option.

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

Description

Add -iapinotes-modules search path option.

This option adds a new module-centric search path to find the API
notes file that applies to the current module that needs to be
built. It costs us only 2 stats per search path at module construction
time to determine if API notes are available, making it far more
efficient (and easier to use) than the prior API notes searching
mechanism. It also fits much better with the future direction of the
Swift Clang importer, which will soon delegate its responsibilities to
Clang's API notes infrastructure.

This is part of rdar://problem/24447420.

apple-llvm-split-commit: 86e45f96e98198758e6fcdca764aaa2821004322
apple-llvm-split-dir: clang/

Details

Committed
doug.gregorFeb 18 2016, 4:35 PM
Parents
rG7dba415bcfd2: Fix botched merge
Branches
Unknown
Tags
Unknown