Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement P0036R0: remove support for empty unary folds of +, *, |, &. | Richard Smith | 2016-03-04 | 1 | -7/+8 |
| | | | | llvm-svn: 262747 | ||||
* | Fix parsing of fold-expressions within a cast expression. We parse the | Richard Smith | 2014-11-11 | 1 | -3/+2 |
| | | | | | | | parenthesized expression a bit differently in this case, just in case the commas have special meaning. llvm-svn: 221661 | ||||
* | [c++1z] N4295: fold-expressions. | Richard Smith | 2014-11-08 | 1 | -0/+78 |
This is a new form of expression of the form: (expr op ... op expr) where one of the exprs is a parameter pack. It expands into (expr1 op (expr2onwards op ... op expr)) (and likewise if the pack is on the right). The non-pack operand can be omitted; in that case, an empty pack gives a fallback value or an error, depending on the operator. llvm-svn: 221573 |