| commit | 15dda3701a09889fe80b63a2411ba4c5bcd90101 | [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 | 5d6934b6de8f8e80ac5689ac577870b49b644da3 | |
| parent | 4692faa7a485de68783ef5e44fda89eeda004045 [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. llvm-svn: 95495