diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-12-22 17:13:37 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-12-22 17:13:37 +0000 |
| commit | 5b5ad8453c8e79f642c3ddfeeadf162ae67309c0 (patch) | |
| tree | 3c6a7ffc083fd4f0065a60957c1e25a17f1d5e81 /lib/CodeGen/CGExprComplex.cpp | |
| parent | a188ff2d8a18140541fcd5884deda4552dac71a7 (diff) | |
| download | clang-5b5ad8453c8e79f642c3ddfeeadf162ae67309c0.tar.gz clang-5b5ad8453c8e79f642c3ddfeeadf162ae67309c0.tar.bz2 clang-5b5ad8453c8e79f642c3ddfeeadf162ae67309c0.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91907 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
