diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-07-08 02:22:15 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-07-08 02:22:15 +0000 |
commit | 7a591a4a46eba3e498e7d6637cbf9c01bb18171f (patch) | |
tree | 3cd2c980ba1e7c24c1e75591505d782f4b1b1170 /clang/test/Modules/Inputs/merge-template-pattern-visibility/module.modulemap | |
parent | bbe5c4cdcdeb8431ab82c59f4a448bbf14489370 (diff) | |
download | bcm5719-llvm-7a591a4a46eba3e498e7d6637cbf9c01bb18171f.tar.gz bcm5719-llvm-7a591a4a46eba3e498e7d6637cbf9c01bb18171f.zip |
[modules] When determining the visible module set during template
instantiation, use the set of modules visible from the template definition, not
from whichever declaration the specialization was instantiated from.
llvm-svn: 241662
Diffstat (limited to 'clang/test/Modules/Inputs/merge-template-pattern-visibility/module.modulemap')
-rw-r--r-- | clang/test/Modules/Inputs/merge-template-pattern-visibility/module.modulemap | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/merge-template-pattern-visibility/module.modulemap b/clang/test/Modules/Inputs/merge-template-pattern-visibility/module.modulemap new file mode 100644 index 00000000000..ba97abbaa8e --- /dev/null +++ b/clang/test/Modules/Inputs/merge-template-pattern-visibility/module.modulemap @@ -0,0 +1,4 @@ +module X { + module A { header "a.h" } + module B { header "b.h" } +} |