commit | 3caf04ea0c01ff6822209c4621c3fa64a48029a4 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Sun May 16 16:01:03 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Sun May 16 16:01:03 2010 +0000 |
tree | 33146b47b21a339e79d09143bc79b40e258c38fe | |
parent | 16565aa95b086fb239baf82335dccc1b1ec93942 [diff] |
When the type-id or new-type-id of a C++ "new" expression is a typedef of an array type, use the outermost array bound as the number of elements to allocate. Fixes PR7147. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103908 91177308-0d34-0410-b5e6-96231b3b80d8