summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/normal-module-map/nested/nested1.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-11 19:10:28 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-11 19:10:28 +0000
commit718292f260bf608a09ceb21a2ca35ad3613b041b (patch)
tree3be65f339548915773a9698b7bc07e7317123e24 /clang/test/Modules/Inputs/normal-module-map/nested/nested1.h
parentb889f8b4b83f487c6ed48c5026a83a7a58f25bef (diff)
downloadbcm5719-llvm-718292f260bf608a09ceb21a2ca35ad3613b041b.tar.gz
bcm5719-llvm-718292f260bf608a09ceb21a2ca35ad3613b041b.zip
Introduce basic support for parsing module map files.
Module map files provide a way to map between headers and modules, so that we can layer a module system on top of existing headers without changing those headers at all. This commit introduces the module map file parser and the module map that it generates, and wires up the module map file parser so that we'll automatically find module map files as part of header search. Note that we don't yet use the information stored in the module map. llvm-svn: 144402
Diffstat (limited to 'clang/test/Modules/Inputs/normal-module-map/nested/nested1.h')
-rw-r--r--clang/test/Modules/Inputs/normal-module-map/nested/nested1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/normal-module-map/nested/nested1.h b/clang/test/Modules/Inputs/normal-module-map/nested/nested1.h
new file mode 100644
index 00000000000..3790d1a196e
--- /dev/null
+++ b/clang/test/Modules/Inputs/normal-module-map/nested/nested1.h
@@ -0,0 +1 @@
+int nested1;
OpenPOWER on IntegriCloud