This is an archive of the discontinued LLVM Phabricator instance.

[Frontend] Flip default of CreateInvocationOptions::ProbePrecompiled to false
ClosedPublic

Authored by sammccall on May 6 2022, 5:18 PM.

Details

Summary

This is generally a better default for tools other than the compiler, which
shouldn't assume a PCH file on disk is something they can consume.

Preserve the old behavior in places associated with libclang/c-index-test
(including ASTUnit) as there are tests relying on it and most important
consumers are out-of-tree. It's unclear whether the tests are specifically
trying to test this functionality, and what the downstream implications of
removing it are. Hopefully someone more familiar can clean this up in future.

Diff Detail

Event Timeline

sammccall created this revision.May 6 2022, 5:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 6 2022, 5:18 PM
Herald added a subscriber: arphaman. · View Herald Transcript
sammccall requested review of this revision.May 6 2022, 5:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 6 2022, 5:18 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
kadircet accepted this revision.May 9 2022, 2:46 AM
This revision is now accepted and ready to land.May 9 2022, 2:46 AM