commit | 9d0e441036de0faa59d8039ce0c9967bda112c7f | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Mar 26 05:50:28 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Mar 26 05:50:28 2010 +0000 |
tree | f93c5c2766a051ebfb25aa700448e14431d0c6f9 | |
parent | d325daa506338ab86f9dd468b48fd010673f49a6 [diff] |
When deducing an integral template argument for a non-type template parameter, keep the integral value exactly as it was in the source code rather than trying to convert it to the type of the non-type template parameter (which may still be dependent!). The value will then be converted to the appropriate type once we check the resulting template arguments. Fixes PR6707. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99611 91177308-0d34-0410-b5e6-96231b3b80d8