diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-08-28 16:48:44 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-08-28 16:48:44 +0000 |
commit | 33375375a4c31cf31803c6f9555ca023864818fe (patch) | |
tree | f8e4e3072f6693adc5dce78cf2a499134ecb2bd8 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 50cbfc513827b192b77f3c2ee5ea70fcda36433e (diff) | |
download | llvm-33375375a4c31cf31803c6f9555ca023864818fe.zip llvm-33375375a4c31cf31803c6f9555ca023864818fe.tar.gz llvm-33375375a4c31cf31803c6f9555ca023864818fe.tar.bz2 |
Throw a std::bad_array_new_length exception when the expression (or constant-expression) passed to operator new[] results in overflow in conformance with [expr.new]p7. Fixes PR11644.
llvm-svn: 216675
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions