[PATCH] Add -Wnon-modular-include options
Ben Langmuir
blangmuir at apple.com
Mon Apr 28 20:54:07 PDT 2014
This patch adds the warning options:
-Wnon-modular-include -- warn on any #include of a header that's not listed in a module map
[-Wnon-modular-include-in-module -- subgroup, only warn if the include is in a module]
-Wnon-modular-include-in-framework-module -- subgroup, only warn if the include is in a framework module
There had been discussion of this making -fmodules-strict-decluse redundant, but I wasn’t sure if we came to an agreement about that, so I didn’t remove it.
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: non-modular-include.patch
Type: application/octet-stream
Size: 23941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140428/f092da18/attachment.obj>
-------------- next part --------------
More information about the cfe-commits
mailing list