Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move -Wstatic-float-init fixit into a note & don't recover as if constexpr | David Blaikie | 2013-01-29 | 1 | -1/+1 |
| | | | | llvm-svn: 173841 | ||||
* | Sync 'in class initialization of static const double' extension up with GCC, | Richard Smith | 2013-01-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | and split it out of -Wgnu into its own warning flag. * In C++11, this is now a hard error (GCC has no extension here in C++11 mode). The error can be disabled with -Wno-static-float-init, and has a fixit to add 'constexpr'. * In C++98, this is still an ExtWarn, but is now controlled by -Wstatic-float-init as well as -Wgnu. llvm-svn: 173414 | ||||
* | Make sure we still reject static data members in anonymous unions in C++11. | Richard Smith | 2012-02-16 | 1 | -0/+12 |
| | | | | llvm-svn: 150724 | ||||
* | C++11 allows unions to have static data members. Remove the corresponding | Richard Smith | 2012-02-16 | 1 | -0/+36 |
restriction and add some tests. llvm-svn: 150721 |