Deprecate IntrusiveRefCntPtr::getPtr() in favour of get()
authorAlp Toker <alp@nuanti.com>
Sat, 5 Jul 2014 03:03:21 +0000 (03:03 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 5 Jul 2014 03:03:21 +0000 (03:03 +0000)
commit22b4918557e3b98311e03b74c3b36d42b83a07ee
tree8211481b01e50e462257812f9e3abd3e13cb4b6c
parent8be730695dbe50d0458836446740550cdbe571d3
Deprecate IntrusiveRefCntPtr::getPtr() in favour of get()

This better aligns with other LLVM-specific and C++ standard library smart
pointer types.

In particular there are at least a few uses of intrusive refcounting in the
frontend where it's worth investigating std::shared_ptr as a more appropriate
alternative.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212366 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/IntrusiveRefCntPtr.h