[PATCH] Add a new flag -fmodules-require-modular-includes

Ben Langmuir blangmuir at apple.com
Thu Apr 10 06:43:28 PDT 2014


As suggested off-list, this updated patch only affects frameworks for now, although the intent is to include all modules in the future.  It also has small fix for submodules including non-modular content and files that are nested inside umbrella directories.

Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: non-modular-includes.patch
Type: application/octet-stream
Size: 23963 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140410/dd326f55/attachment.obj>
-------------- next part --------------


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

> When set, the new flag enforces that all of the files included by a module are themselves part of a module, or are explicitly excluded by some module. This will not affect headers that are part of the module being built, nor files included outside of the module build (e.g. in an implementation file with -fmodule-name set).
> 
> Ben
> 
> <non-modular-includes.patch>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list