summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/exclude-header/module.map
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-04-08 13:13:04 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-04-08 13:13:04 +0000
commit50996ce1e332334f3fa1913e90992e1128a5abaf (patch)
tree05724c939b1623aa1ee70e557f614aa269f44e93 /clang/test/Modules/Inputs/exclude-header/module.map
parent139d4a3875a2a2d92b96f895498c99796fba9e95 (diff)
downloadbcm5719-llvm-50996ce1e332334f3fa1913e90992e1128a5abaf.tar.gz
bcm5719-llvm-50996ce1e332334f3fa1913e90992e1128a5abaf.zip
If a header is explicitly included in module A, and excluded from an umbrella
directory in module B, don't include it in module B! llvm-svn: 205762
Diffstat (limited to 'clang/test/Modules/Inputs/exclude-header/module.map')
-rw-r--r--clang/test/Modules/Inputs/exclude-header/module.map3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/exclude-header/module.map b/clang/test/Modules/Inputs/exclude-header/module.map
new file mode 100644
index 00000000000..2aa1024458b
--- /dev/null
+++ b/clang/test/Modules/Inputs/exclude-header/module.map
@@ -0,0 +1,3 @@
+module x { umbrella "x" exclude header "x/bad.h" exclude header "y/b.h" module * {} }
+module y { umbrella "y" module * {} }
+module bad { header "x/bad.h" }
OpenPOWER on IntegriCloud