Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Parse] Allow 'constexpr' in condition declarations | Meador Inge | 2015-06-25 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | | This patch implements the functionality specified by DR948. The changes are two fold. First, the parser was modified to allow 'constexpr's to appear in condition declarations (which was a hard error before). Second, Sema was modified to cleanup maybe odr-used declarations by way of a call to 'ActOnFinishFullExpr'. As 'constexpr's were not allowed in condition declarations before the cleanup wasn't necessary (such declarations were always odr-used). This fixes PR22491. Differential Revision: http://reviews.llvm.org/D8978 llvm-svn: 240707 | ||||
* | Run DR tests in C++17 mode too. | Richard Smith | 2014-09-28 | 1 | -1/+2 |
| | | | | llvm-svn: 218580 | ||||
* | Implement DR990 and DR1070. Aggregate initialization initializes uninitialized | Richard Smith | 2014-06-03 | 1 | -0/+45 |
elements from {}, rather than value-initializing them. This permits calling an initializer-list constructor or constructing a std::initializer_list object. (It would also permit initializing a const reference or rvalue reference if that weren't explicitly prohibited by other rules.) llvm-svn: 210091 |