HomePhabricator

[c++20] Implement P1009R2: allow omitting the array bound in an array new…

Authored by Richard Smith <richard-llvm@metafoo.co.uk> on May 5 2019, 8:47 PM.

Description

[c++20] Implement P1009R2: allow omitting the array bound in an array new expression.

This was voted into C++20 as a defect report resolution, so we
retroactively apply it to all prior language modes (though it can never
actually be used before C++11 mode).

llvm-svn: 360006

Event Timeline

Richard Smith <richard-llvm@metafoo.co.uk> committed rGb9fb121a62de: [c++20] Implement P1009R2: allow omitting the array bound in an array new… (authored by Richard Smith <richard-llvm@metafoo.co.uk>).May 5 2019, 8:47 PM