clang-1/test/CXX/basic
Richard Smith 8ef7b20333 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
2012-01-18 23:55:52 +00:00
..
basic.def.odr Check for redefinitions in MergeVarDecl. This finds redefinitions of globals without an initializer in C++ and thus fixes PR5451. 2010-02-02 18:35:11 +00:00
basic.link Improve 0-argument -Wvexing-parse diagnostic by adding notes with fix-its: 2012-01-12 23:53:29 +00:00
basic.lookup Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
basic.scope Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
basic.start/basic.start.main Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
basic.stc/basic.stc.dynamic Semantic checking for exception specifications should be triggered by 2011-03-02 02:04:40 +00:00
basic.types constexpr: converted constant expression handling for enumerator values, case 2012-01-18 23:55:52 +00:00