[llvm-commits] [llvm] r64444 - /llvm/trunk/lib/Support/MemoryBuffer.cpp

Mike Stump mrs at apple.com
Fri Feb 13 06:28:18 PST 2009

On Feb 12, 2009, at 11:54 PM, Evan Cheng wrote:
> If new[] fails, return 0 rather then trying to dereference a null  
> pointer.

new [] never fails?!  Use nothrow, if you want it to fail.

More information about the llvm-commits mailing list