[PATCH] D102820: [Clang] Check for returns_nonnull when deciding to add allocation null checks

Di Mo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 26 11:26:56 PDT 2021


modimo added a comment.

@rsmith @lebedev.ri thoughts on adding this directly to FE generation? As mentioned this isn't strictly needed and the BE can elide the check but we can also not emit it to save on AST/IR processing cost.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102820/new/

https://reviews.llvm.org/D102820



More information about the cfe-commits mailing list