]> granicus.if.org Git - clang/commit
Add a new spelling for module map files 'module.modulemap'
authorBen Langmuir <blangmuir@apple.com>
Wed, 19 Mar 2014 20:23:34 +0000 (20:23 +0000)
committerBen Langmuir <blangmuir@apple.com>
Wed, 19 Mar 2014 20:23:34 +0000 (20:23 +0000)
commitae028ef7977ade3af88ab838a5fb1bed36152aeb
tree1358f9f77b74f37083b08ee9f833b9ca385b9159
parent63a1a884644024e38677cac8535f32c23ca73d58
Add a new spelling for module map files 'module.modulemap'

This name, while more verbose, plays more nicely with tools that use
file extensions to determine file types. The existing spelling
'module.map' will continue to work, but the new spelling will take
precedence.

In frameworks, this new filename will only go in a new 'Modules'
sub-directory.

Similarly, add a module.private.modulemap corresponding to
module_private.map.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204261 91177308-0d34-0410-b5e6-96231b3b80d8
21 files changed:
docs/Modules.rst
include/clang/Lex/HeaderSearch.h
lib/Lex/HeaderSearch.cpp
lib/Lex/ModuleMap.cpp
test/Modules/Inputs/ModuleMapLocations/Both/a.h [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Both/b.h [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Both/module.map [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Both/module.modulemap [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Both_F.framework/Headers/a.h [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Both_F.framework/Headers/b.h [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Both_F.framework/Modules/module.modulemap [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Both_F.framework/module.map [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Inferred.framework/Headers/Inferred.h [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/a.h [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/module.modulemap [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap_F.framework/Headers/a.h [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap_F.framework/Modules/module.modulemap [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap_F.framework/Modules/module.private.modulemap [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap_F.framework/PrivateHeaders/private.h [new file with mode: 0644]
test/Modules/Inputs/ModuleMapLocations/module.modulemap [new file with mode: 0644]
test/Modules/modulemap-locations.m [new file with mode: 0644]