Skip to content
Commit 2e9c795d authored by Douglas Gregor's avatar Douglas Gregor
Browse files

When transforming a C++ "new" expression that was not explicitly given

a size, check whether the transformed type is itself an array type. If
so, take the major array bound as the size to allocate. Fixes PR5833.

llvm-svn: 91907
parent bbeb5c39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment