| commit | 0a29a05f029afce490db12f9fc00c3129fa8b701 | [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 | 8e54dae3831079bba638423d83083a2f109fdf26 | |
| parent | e0b2ddb4926bfbe9fce22475d6e538e881baa4a4 [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. llvm-svn: 99611