commit | 86a7625062abbd40fffa186f2f5d305cc89615b8 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Feb 04 17:21:48 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Feb 04 17:21:48 2010 +0000 |
tree | f554d720991c71f4dfabe5998bfa4f4c3523aa6e | |
parent | 72119a887c4af39c90f10b6bdc158389071f42ea [diff] |
When substituting the template argument for a pointer non-type template parameter, perform array/function decay (if needed), take the address of the argument (if needed), perform qualification conversions (if needed), and remove any top-level cv-qualifiers from the resulting expression. Fixes PR6226. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95309 91177308-0d34-0410-b5e6-96231b3b80d8