aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-12-22 17:13:37 +0000
committerDouglas Gregor <dgregor@apple.com>2009-12-22 17:13:37 +0000
commit5b5ad8453c8e79f642c3ddfeeadf162ae67309c0 (patch)
tree3c6a7ffc083fd4f0065a60957c1e25a17f1d5e81 /lib/Parse/ParseDecl.cpp
parenta188ff2d8a18140541fcd5884deda4552dac71a7 (diff)
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/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions