commit | 8ef7b203332b0c8d65876a1f5e6d1db4e6f40e4b | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Jan 18 23:55:52 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Jan 18 23:55:52 2012 +0000 |
tree | dee9b186a48a66f3c8be5c56c4e774338408bece | |
parent | d6c7c67313634b317a0d63c32be0511a121bb33d [diff] |
constexpr: converted constant expression handling for enumerator values, case values and non-type template arguments of integral and enumeration types. This change causes some legal C++98 code to no longer compile in C++11 mode, by enforcing the C++11 rule that narrowing integral conversions are not permitted in the final implicit conversion sequence for the above cases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148439 91177308-0d34-0410-b5e6-96231b3b80d8