llvm-project/clang/test/Modules/Inputs/template-default-args
Richard Smith 2195ec9ad4 [modules] Properly look up the owning module for an instantiation of a merged template.
When looking for the template instantiation pattern of a templated entity,
consistently select the definition of the pattern if there is one. This means
we'll pick the same owning module when we start instantiating a template that
we'll later pick when determining which modules are visible during that
instantiation.

This reinstates r300650, reverted in r300659, with a fix for a regression
reported by Chandler after commit.

llvm-svn: 300938
2017-04-21 01:15:13 +00:00
..
a.h [modules] Properly look up the owning module for an instantiation of a merged template. 2017-04-21 01:15:13 +00:00
b.h
c.h [modules] Add (already passing) test for template default argument merging when the template is declared in a namespace. 2015-07-19 23:44:27 +00:00
d.h [modules] Properly look up the owning module for an instantiation of a merged template. 2017-04-21 01:15:13 +00:00
module.modulemap [modules] When picking one of two template declarations as a lookup result, 2015-09-11 22:39:35 +00:00