clang/test/CXX/expr/expr.unary
Zhihao Yuan e14d055b29 P0620 follow-up: deducing `auto` from braced-init-list in new expr
Summary:
This is a side-effect brought in by p0620r0, which allows other placeholder types (derived from `auto` and `decltype(auto)`) to be usable in a `new` expression with a single-clause //braced-init-list// as its initializer (8.3.4 [expr.new]/2).  N3922 defined its semantics.

References:
 http://wg21.link/p0620r0
 http://wg21.link/n3922

Reviewers: rsmith, aaron.ballman

Reviewed By: rsmith

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D39451

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320401 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-11 18:29:54 +00:00
..
expr.delete Re-commit r283722, reverted in r283750, with a fix for a CUDA-specific use of 2016-10-10 18:54:32 +00:00
expr.new P0620 follow-up: deducing `auto` from braced-init-list in new expr 2017-12-11 18:29:54 +00:00
expr.sizeof Make wording for certain invalid unary expressions more consistent. 2013-10-09 00:22:23 +00:00
expr.unary.noexcept Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
expr.unary.op [Sema] Be consistent about diagnostic wording: always use "cannot". 2015-08-15 15:23:14 +00:00