[PATCH] Add an option -fmodules-validate-system-headers

Ben Langmuir blangmuir at apple.com
Tue Mar 11 17:10:01 PDT 2014


This patch adds an option -fmodules-validate-system-headers, which forces clang to check system input files when loading a module.  In general, this will mean that if the system headers a module depends on are changed, the module will be rebuilt.  Note: we don’t (usually) validate these system headers when this option is not set for performance reasons.

Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: validate-system-headers.patch
Type: application/octet-stream
Size: 7635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140311/0bdf5cce/attachment.obj>


More information about the cfe-commits mailing list