[PATCH] D43159: Modernize: Use nullptr more.

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 3 08:29:05 PDT 2019


mclow.lists requested changes to this revision.
mclow.lists added a comment.
This revision now requires changes to proceed.

Did you try to build libc++ or run the tests before submitting this?



================
Comment at: include/__threading_support:323
 bool __libcpp_thread_isnull(const __libcpp_thread_t *__t) {
-  return *__t == 0;
+  return *__t == nullptr;
 }
----------------
This one is wrong.


Repository:
  rCXX libc++

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

https://reviews.llvm.org/D43159





More information about the cfe-commits mailing list