[Lldb-commits] [PATCH] D85396: Fix a small memory leak in VectorType.cpp and BlockPointer.cpp

Davide Italiano via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 5 22:28:49 PDT 2020


davide added a comment.

In D85396#2198668 <https://reviews.llvm.org/D85396#2198668>, @tschuett wrote:

> auto_ptr is deprecated since C++11 and will be removed in C++17.

@jasonmolenda you might want to use `std::unique_ptr` instead -- probably LLVM won't migrate to 17 for a while, but still.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85396



More information about the lldb-commits mailing list