[libcxx-commits] [PATCH] D80057: [libc++][NFCI] Optimization to std::~unique_ptr

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 15 21:54:14 PDT 2020


zoecarver added a comment.

LGTM. Thanks :)



================
Comment at: libcxx/include/memory:2645
+  ~unique_ptr() {
+    const pointer ptr = __ptr_.first();
+    if (ptr)
----------------
Please mangle this (`__ptr`). 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80057





More information about the libcxx-commits mailing list