Skip to content
Commit 33375375 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Throw a std::bad_array_new_length exception when the expression (or...

Throw a std::bad_array_new_length exception when the expression (or constant-expression) passed to operator new[] results in overflow in conformance with [expr.new]p7. Fixes PR11644.

llvm-svn: 216675
parent 50cbfc51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment