commit | 1a6e03457ebafd6ac523cdcf5d6b6f411ea08772 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Mar 26 02:38:37 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Mar 26 02:38:37 2010 +0000 |
tree | 6823501bcfb35b2b780491276302e560d4ec6641 | |
parent | d7e29e114d20da5b83e0cb7bc29ec717a7458cb1 [diff] |
Reinstate change to non-type template arguments of integral type, so that we extend/truncate then correct the sign to convert the non-type template argument to the template parameter's type. Previously, we reported an error when the non-type template argument was out of range; now we just warn. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99600 91177308-0d34-0410-b5e6-96231b3b80d8