llvm-project/clang/test/CXX
Richard Smith 35ecb36fcd Ensure that we instantiate static reference data members of class templates
early, since their values can be used in constant expressions in C++11. For
odr-use checking, the opposite change is required, since references are
odr-used whether or not they satisfy the requirements for appearing in a
constant expression.

llvm-svn: 151881
2012-03-02 04:14:40 +00:00
..
basic Make RequireLiteralType work correctly with incomplete array types. PR12037. 2012-02-20 23:58:14 +00:00
class Don't assert when trying to diagnose why a class with a constructor template is 2012-02-26 10:50:32 +00:00
class.access Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
class.derived Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
conv Compute the promoted integer type of fixed-width enums correctly. Found by inspection. 2011-10-26 07:38:19 +00:00
dcl.dcl Accept braced-init-lists in conditions, and, in passing, dramatically improve 2012-02-22 06:49:09 +00:00
dcl.decl Special members which are defaulted or deleted on their first declaration are 2012-02-26 00:31:33 +00:00
except In C++11 mode, when an integral constant expression is desired and we have a 2012-02-04 09:53:13 +00:00
expr Ensure that we instantiate static reference data members of class templates 2012-03-02 04:14:40 +00:00
lex Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
over Add test for C++ DR899. 2012-02-24 23:57:42 +00:00
special Ensure that we delete default constructors in the right cases. Don't delete the 2012-02-27 06:07:25 +00:00
stmt.stmt Support decltype as a simple-type-specifier. 2012-01-24 05:47:35 +00:00
temp Improve diagnostics a bit for bad member initializers, and fix an obscure bug involving packs. Fixes PR12049. 2012-02-22 04:49:04 +00:00