aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-08-28 16:48:44 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-08-28 16:48:44 +0000
commit33375375a4c31cf31803c6f9555ca023864818fe (patch)
treef8e4e3072f6693adc5dce78cf2a499134ecb2bd8 /clang/lib/CodeGen/CodeGenModule.cpp
parent50cbfc513827b192b77f3c2ee5ea70fcda36433e (diff)
downloadllvm-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