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 | d5695297241d71a4aa38b32562a9d465027b007b (patch) | |
| tree | 4f220772b7ab2a26eedbb258ba2912fd00ff0797 /lib/CodeGen/CGExpr.cpp | |
| parent | b97b819a739269d2a94a9fe08aeba2d782b188d2 (diff) | |
| download | clang-d5695297241d71a4aa38b32562a9d465027b007b.tar.gz clang-d5695297241d71a4aa38b32562a9d465027b007b.tar.bz2 clang-d5695297241d71a4aa38b32562a9d465027b007b.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
