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.
pch-error.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
