Skip to content
Commit f7dcf320 authored by John McCall's avatar John McCall
Browse files

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
parent e467979d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment