summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-01-17 02:09:33 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-01-17 02:09:33 +0000
commitd5695297241d71a4aa38b32562a9d465027b007b (patch)
tree4f220772b7ab2a26eedbb258ba2912fd00ff0797 /lib/CodeGen/CGExprAgg.cpp
parentb97b819a739269d2a94a9fe08aeba2d782b188d2 (diff)
downloadclang-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/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions