[PATCH] D47327: Check that memory allocation succeeds before use.

Tom Rix via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 24 16:07:47 PDT 2018


trixirt added a comment.

I agree on the consensus building.

However I can see the problem of default new not returning nullptr being a general problem.
So something automagic needs to be created if it doesn't exist already.


Repository:
  rL LLVM

https://reviews.llvm.org/D47327





More information about the llvm-commits mailing list