[PATCH] D111751: [ptr_provenance] Add llvm-c support.

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 14 13:17:54 PDT 2021


deadalnix accepted this revision.
deadalnix added a comment.
This revision is now accepted and ready to land.

I think using nullptr would be preferable, but this looks good. Thanks.



================
Comment at: llvm/lib/IR/Core.cpp:3791
+    else
+      return NULL;
+  } else {
----------------
I missed this on the first pass, but this is a C++ file, so you can simply return `nullptr`.


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

https://reviews.llvm.org/D111751



More information about the llvm-commits mailing list