commit | 645cf44cc34371c808743e5e7c19bb41ff593ca0 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Sat Feb 06 10:23:53 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Sat Feb 06 10:23:53 2010 +0000 |
tree | a6aac211a6ef7f6b01b6b6b4484b27e4075d0769 | |
parent | b372f51166bdf7e2951ef4820941ec3523086865 [diff] |
Use a substituted type when determining how to substitute in non-type template params. Don't insert addrof operations when matching against a pointer; array/function conversions should take care of this for us, assuming the argument type-checked in the first place. Add a fixme where we seem to be using a less-restrictive reference type than we should. Fixes PR 6249. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95495 91177308-0d34-0410-b5e6-96231b3b80d8