Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Soft-deprecate -fapinotes-cache-path; use -fmodules-cache-path instead. #119

Conversation

jrose-apple
Copy link
Contributor

When Clang decided to change the default module cache path to include the current user's name, the API notes path didn't change. Rather than duplicate that logic, just put the API notes cache in with the module cache by default. We still support -fapinotes-cache-path in case anyone's using it, but from now on -fmodules-cache-path should be sufficient. (This is reasonable because API notes are currently linked to modules anyway.)

SR-5806

When Clang decided to change the default module cache path to include
the current user's name, the API notes path didn't change. Rather than
duplicate that logic, just put the API notes cache in with the module
cache by default. We still support -fapinotes-cache-path in case
anyone's using it, but from now on -fmodules-cache-path should be
sufficient. (This is reasonable because API notes are currently linked
to modules anyway.)

https://bugs.swift.org/browse/SR-5806
@jrose-apple jrose-apple force-pushed the soft-deprecate-fapinotes-cache-path branch from 15b853f to 3efc6c6 Compare September 6, 2017 20:32
@jrose-apple
Copy link
Contributor Author

Requesting actual review because I plan to cherry-pick this to swift-4.1-branch (even though we're not under the formal review process yet).

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants