| commit | cda95f47e5b17f17d16ef591a6b21d168604faf6 | [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 | 2ceeb57e0394c2ec137739eb4a95b05d04e47d48 | |
| parent | 5ce10a67446c78779e63e19e4da0eeb671afff15 [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. llvm-svn: 103908