[PATCH] Add -Wnon-modular-include options

Ben Langmuir blangmuir at apple.com
Sun May 4 19:07:08 PDT 2014


gentle ping

On Apr 28, 2014, at 8:54 PM, Ben Langmuir <blangmuir at apple.com> wrote:

> 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<non-modular-include.patch>
> 





More information about the cfe-commits mailing list