summaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2014-03-19 20:23:34 +0000
committerBen Langmuir <blangmuir@apple.com>2014-03-19 20:23:34 +0000
commitae028ef7977ade3af88ab838a5fb1bed36152aeb (patch)
tree1358f9f77b74f37083b08ee9f833b9ca385b9159 /test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap
parent63a1a884644024e38677cac8535f32c23ca73d58 (diff)
downloadclang-ae028ef7977ade3af88ab838a5fb1bed36152aeb.tar.gz
clang-ae028ef7977ade3af88ab838a5fb1bed36152aeb.tar.bz2
clang-ae028ef7977ade3af88ab838a5fb1bed36152aeb.tar.xz
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
Diffstat (limited to 'test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap')
-rw-r--r--test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/a.h1
-rw-r--r--test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/module.modulemap3
2 files changed, 4 insertions, 0 deletions
diff --git a/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/a.h b/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/a.h
new file mode 100644
index 0000000000..d571c6e4f7
--- /dev/null
+++ b/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/a.h
@@ -0,0 +1 @@
+void will_be_found1(void);
diff --git a/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/module.modulemap b/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/module.modulemap
new file mode 100644
index 0000000000..2ac7cc52b4
--- /dev/null
+++ b/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/module.modulemap
@@ -0,0 +1,3 @@
+module module_modulemap {
+ header "a.h"
+}