Add a new spelling for module map files 'module.modulemap'

Argyrios Kyrtzidis kyrtzidis at
Mon Mar 17 11:33:14 PDT 2014

+ Richard.

Do you have an objection to what Ben proposes here ? The “.map” extension is unfortunate and we’d really like to move “.modulemap”; the best chance to change it is now, before first class support for user modules enters the picture.

On Mar 17, 2014, at 10:40 AM, Ben Langmuir <blangmuir at> wrote:

>    This name, while more verbose, plays more nicely with tools that use
>    file extensions to determine file types. The existing spelling
>    '' will continue to work, and at least for now will take
>    precedence if both files exist within a directory. In a future patch, I
>    intend to add a warning for when both files could be found.
>    In frameworks, this new filename will only go in a new 'Modules'
>    sub-directory.
>    Similarly, add a module.private.modulemap corresponding to
> <modulemap.patch>

More information about the cfe-commits mailing list