diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-01-17 02:09:33 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-01-17 02:09:33 +0000 |
commit | 2c6b449098dc0047f4697b2f822a7c7e56c32f43 (patch) | |
tree | 7a5cee6e7fbab5fc1286248d2db7b20040445c54 /clang/lib/Sema/SemaTemplateInstantiate.cpp | |
parent | e9d2bfc7e95b89c4ab5715d3036ff7489c5ef233 (diff) | |
download | bcm5719-llvm-2c6b449098dc0047f4697b2f822a7c7e56c32f43.tar.gz bcm5719-llvm-2c6b449098dc0047f4697b2f822a7c7e56c32f43.zip |
Issue a warning if a throwing operator new or operator new[] returns a null
pointer, since this invokes undefined behavior. Based on a patch by Artyom
Skrobov! Handling of dependent exception specifications and some additional
testcases by me.
llvm-svn: 199452
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiate.cpp')
0 files changed, 0 insertions, 0 deletions