commit | 8a5cb1196ee8491570160e36c216631df3a9e95c | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Jun 26 21:40:05 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Jun 26 21:40:05 2009 +0000 |
tree | 0ad5545e946ec0a701528b89a2ec29badac2a48b | |
parent | 6e5dd866469d577811f3080f43407c12a21db83f [diff] |
A little template argument deduction test uncovered an "oops". As part of template instantiation, we were dropping cv-qualifiers on the instantiated type in a few places. This change reshuffles the type-instantiation code a little bit so that there's a single place where we add qualifiers to the instantiated type, so that we won't end up with this same bug in the future. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74331 91177308-0d34-0410-b5e6-96231b3b80d8