diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-05-16 16:01:03 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-05-16 16:01:03 +0000 |
| commit | 3caf04ea0c01ff6822209c4621c3fa64a48029a4 (patch) | |
| tree | 33146b47b21a339e79d09143bc79b40e258c38fe /lib/CodeGen/CGExprConstant.cpp | |
| parent | 16565aa95b086fb239baf82335dccc1b1ec93942 (diff) | |
| download | clang-3caf04ea0c01ff6822209c4621c3fa64a48029a4.tar.gz clang-3caf04ea0c01ff6822209c4621c3fa64a48029a4.tar.bz2 clang-3caf04ea0c01ff6822209c4621c3fa64a48029a4.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
