summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/oldname
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-03-21 01:08:50 +0000
committerDouglas Gregor <dgregor@apple.com>2013-03-21 01:08:50 +0000
commit0339a64a40e5b0a48398382a6523545f142cf3a1 (patch)
tree9baa1de4d58b5a5b5fcb3696f9d6e0241bb4c187 /clang/test/Modules/Inputs/oldname
parent4ab769f4b322a1cef901522a2527f35940bde004 (diff)
downloadbcm5719-llvm-0339a64a40e5b0a48398382a6523545f142cf3a1.tar.gz
bcm5719-llvm-0339a64a40e5b0a48398382a6523545f142cf3a1.zip
<rdar://problem/13037793> Allow the names of modules to differ from the name of their subdirectory in the include path.
llvm-svn: 177621
Diffstat (limited to 'clang/test/Modules/Inputs/oldname')
-rw-r--r--clang/test/Modules/Inputs/oldname/module.map4
-rw-r--r--clang/test/Modules/Inputs/oldname/new_name.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/oldname/module.map b/clang/test/Modules/Inputs/oldname/module.map
new file mode 100644
index 00000000000..5812f869b34
--- /dev/null
+++ b/clang/test/Modules/Inputs/oldname/module.map
@@ -0,0 +1,4 @@
+module NewName {
+ header "new_name.h"
+ export *
+}
diff --git a/clang/test/Modules/Inputs/oldname/new_name.h b/clang/test/Modules/Inputs/oldname/new_name.h
new file mode 100644
index 00000000000..8bf2f1c8c31
--- /dev/null
+++ b/clang/test/Modules/Inputs/oldname/new_name.h
@@ -0,0 +1 @@
+int same_api;
OpenPOWER on IntegriCloud