llvm-project/clang/test/CXX/expr
Zhihao Yuan 00c9dfdfd0 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

llvm-svn: 320401
2017-12-11 18:29:54 +00:00
..
expr.ass
expr.cast
expr.cond [c++1z] When initializing a const-qualified class type, don't forget to add on 2016-12-21 01:31:56 +00:00
expr.const Don't warn about runtime behavior problems in variable initializers that we 2017-09-23 18:27:11 +00:00
expr.mptr.oper
expr.post [c++1z] Synthesize implicit deduction guides from constructors on demand. Rank 2017-02-14 00:25:28 +00:00
expr.prim [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood) 2017-08-19 03:43:07 +00:00
expr.unary P0620 follow-up: deducing `auto` from braced-init-list in new expr 2017-12-11 18:29:54 +00:00
p3.cpp
p8.cpp
p9.cpp
p10-0x.cpp Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
p13.cpp [c++1z] P0003R5: Removing dynamic exception specifications. 2016-12-08 02:49:07 +00:00