aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-03-07 01:52:56 +0000
committerJohn McCall <rjmccall@apple.com>2011-03-07 01:52:56 +0000
commitf7dcf320a7e29cd2a7b89696ba0092a63b0e0a2f (patch)
treea5c048726aaac30ea3931d66ccc3aaf5882e9f8e /clang/lib/CodeGen/CodeGenModule.cpp
parente467979d0ad24f4210d7bd1bc8fb38391bb4caff (diff)
downloadllvm-f7dcf320a7e29cd2a7b89696ba0092a63b0e0a2f.zip
llvm-f7dcf320a7e29cd2a7b89696ba0092a63b0e0a2f.tar.gz
llvm-f7dcf320a7e29cd2a7b89696ba0092a63b0e0a2f.tar.bz2
An operator new with an empty exception specifier returns null on a bad
allocation and therefore requires a null-check. We were doing that, but we weren't treating the new-initializer as being conditionally executed, which means it was possible to get ill-formed IR as in PR9298. llvm-svn: 127147
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions