summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/macro-reexport/module.modulemap
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-07-25 04:40:03 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-07-25 04:40:03 +0000
commitdaa69e00f5c49893844def565a67f75d7b77a6e3 (patch)
tree84e28d0f95e59f71c351091689f89988a7d07d06 /clang/test/Modules/macro-reexport/module.modulemap
parentbf32f773ccd4f200228259ef32249ad0bc7838a6 (diff)
downloadbcm5719-llvm-daa69e00f5c49893844def565a67f75d7b77a6e3.tar.gz
bcm5719-llvm-daa69e00f5c49893844def565a67f75d7b77a6e3.zip
[modules] Substantially improve handling of #undef:
* Track override set across module load and save * Track originating module to allow proper re-export of #undef * Make override set properly transitive when it picks up a #undef This fixes nearly all of the remaining macro issues with self-host. llvm-svn: 213922
Diffstat (limited to 'clang/test/Modules/macro-reexport/module.modulemap')
-rw-r--r--clang/test/Modules/macro-reexport/module.modulemap8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Modules/macro-reexport/module.modulemap b/clang/test/Modules/macro-reexport/module.modulemap
index 21585b692e3..896bda041c3 100644
--- a/clang/test/Modules/macro-reexport/module.modulemap
+++ b/clang/test/Modules/macro-reexport/module.modulemap
@@ -13,3 +13,11 @@ module d {
module d1 { header "d1.h" export * }
module d2 { header "d2.h" export * }
}
+module e {
+ module e1 { header "e1.h" export * }
+ module e2 { header "e2.h" export * }
+}
+module f {
+ module f1 { header "f1.h" export * }
+ module f2 { header "f2.h" export * }
+}
OpenPOWER on IntegriCloud