summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-07-10 20:09:49 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-07-10 20:09:49 +0000
commit8692a4d1995097e4e4e3949af783f0da73f117fa (patch)
tree385b86bcfb74e89b9199c0a77538c9c14e976d64 /clang/test/Modules
parent45be9e0d24e1c04d1f3acab22c83a0e4374a6b93 (diff)
downloadbcm5719-llvm-8692a4d1995097e4e4e3949af783f0da73f117fa.tar.gz
bcm5719-llvm-8692a4d1995097e4e4e3949af783f0da73f117fa.zip
[modules] Fix "prefer own module over others" rule when selecting a module for a header to work in the presence of module hierarchy.
llvm-svn: 241936
Diffstat (limited to 'clang/test/Modules')
-rw-r--r--clang/test/Modules/Inputs/explicit-build-prefer-self/map4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/Inputs/explicit-build-prefer-self/map b/clang/test/Modules/Inputs/explicit-build-prefer-self/map
index 26be8e69073..042b2ae5b50 100644
--- a/clang/test/Modules/Inputs/explicit-build-prefer-self/map
+++ b/clang/test/Modules/Inputs/explicit-build-prefer-self/map
@@ -1,2 +1,2 @@
-module a { header "a.h" header "x.h" }
-module b { header "b.h" header "x.h" }
+module a { module h { header "a.h" } module x { header "x.h" } }
+module b { module h { header "b.h" } module x { header "x.h" } }
OpenPOWER on IntegriCloud