Remove IntrusiveRefCntPtr::getPtr() function
authorAlp Toker <alp@nuanti.com>
Sat, 5 Jul 2014 22:20:59 +0000 (22:20 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 5 Jul 2014 22:20:59 +0000 (22:20 +0000)
It was deprecated in r212366 and all uses have been switched to get().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212382 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/IntrusiveRefCntPtr.h

index 650b44ce48fadfba740f818cf6ff3001b6e176dc..f9df3781257e4678df616010d561ace064d081ca 100644 (file)
@@ -177,9 +177,6 @@ public:
 
     T* get() const { return Obj; }
 
-    /// Deprecated: use get().
-    T* getPtr() const { return Obj; }
-
     LLVM_EXPLICIT operator bool() const { return Obj; }
 
     void swap(IntrusiveRefCntPtr& other) {