[cfe-dev] leaks in clang (many!)
David Chisnall
David.Chisnall at cl.cam.ac.uk
Thu Apr 24 11:26:04 PDT 2014
Slightly off-topic...
On 24 Apr 2014, at 17:35, Jordan Rose <jordan_rose at apple.com> wrote:
> std::unique_ptr (or llvm::IntrusiveRefCntPtr or similar).
I'd hope that llvm::IntrusiveRefCntPtr could start disappearing soon, as it doesn't appear to provide a benefit over a std::shared_ptr<> created with std::allocate_shared(), except in cases where the reference count manages to be squeezed into something smaller than std::shared_ptr<> provides.
David
More information about the cfe-dev
mailing list