From e45100f420396f8523c1eb9bf271474041b1de33 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Sat, 5 Jul 2014 22:20:59 +0000 Subject: [PATCH] Remove IntrusiveRefCntPtr::getPtr() function 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 | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/llvm/ADT/IntrusiveRefCntPtr.h b/include/llvm/ADT/IntrusiveRefCntPtr.h index 650b44ce48f..f9df3781257 100644 --- a/include/llvm/ADT/IntrusiveRefCntPtr.h +++ b/include/llvm/ADT/IntrusiveRefCntPtr.h @@ -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) { -- 2.34.1