[PATCH] Improve error message when a stale PCH dependency is encountered

Ben Langmuir blangmuir at apple.com
Wed Jan 15 17:07:52 PST 2014


This patch changes which PCH file is displayed in the error that you get when a PCH dependency is modified after the PCH is built.  Now the ‘top-level’ PCH file is shown as the culprit.  When the PCH imports a module, the previous behavior was to blame the pcm file in the module, which is misleading because fixing the pcm will just cause the PCH to fail because it refers to a stale location, whereas rebuilding the pch will also automatically rebuild the module.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pch-error.patch
Type: application/octet-stream
Size: 3466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140115/a2d2e172/attachment.obj>


More information about the cfe-commits mailing list