diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-04-21 01:15:13 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-04-21 01:15:13 +0000 |
commit | 12b885c4eef333208b1af6497841354db36ca3d1 (patch) | |
tree | cbe023b43624c14092ecdaa96f7d9589e5ba0ab1 /lib/Index | |
parent | 6ae3e4a2fbb0549490604480013eb7e020074622 (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index')
0 files changed, 0 insertions, 0 deletions