diff options
| author | Richard Trieu <rtrieu@google.com> | 2013-05-16 01:46:09 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2013-05-16 01:46:09 +0000 |
| commit | ee2f8f2f7c4eacfa305a29fcd916d63c650ca847 (patch) | |
| tree | 51fc5b5b4a521de0792f4b3a66e0b9f26458f100 /lib/CodeGen/CGExprAgg.cpp | |
| parent | c8812a23609af58a90ea9e093b38a0815e6dd9eb (diff) | |
| download | clang-ee2f8f2f7c4eacfa305a29fcd916d63c650ca847.tar.gz clang-ee2f8f2f7c4eacfa305a29fcd916d63c650ca847.tar.bz2 clang-ee2f8f2f7c4eacfa305a29fcd916d63c650ca847.tar.xz | |
Return QualType() when a too large array is attempting to be created. This
prevents further errors and some overflows in size calculations.
One overflow was previously triggering an assert.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181970 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
