summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/cxx1z-fold-expression.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update fold-expression mangling to match cxx-abi-dev discussion.Richard Smith2014-11-101-7/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221623 91177308-0d34-0410-b5e6-96231b3b80d8
* [c++1z] N4295: fold-expressions.Richard Smith2014-11-081-0/+45
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221573 91177308-0d34-0410-b5e6-96231b3b80d8