HomePhabricator

[API Notes] Ensure that modules get rebuilt when API notes change.
16a0f3116a96Unpublished

Authored by doug.gregor on Sep 27 2016, 11:15 PM.

Unpublished Commit ยท Learn More

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

Description

[API Notes] Ensure that modules get rebuilt when API notes change.

The approach here is fairly simple: treat API notes source files as
"sources" in the source manager, so that module files automatically
check whether they have changed and rebuild when they do. Also, have
API notes files compiled into the cache keep track of the size and
modification time of the API notes source files from which they were
generated.

Fixes rdar://problem/25639554.

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

Details

Committed
doug.gregorSep 27 2016, 11:40 PM
Parents
rG10630737443b: [API Notes] Load both public and private API notes when they are present.
Branches
Unknown
Tags
Unknown