[llvm] r212382 - Remove IntrusiveRefCntPtr::getPtr() function
Alp Toker
alp at nuanti.com
Sat Jul 5 15:21:00 PDT 2014
Author: alp
Date: Sat Jul 5 17:20:59 2014
New Revision: 212382
URL: http://llvm.org/viewvc/llvm-project?rev=212382&view=rev
Log:
Remove IntrusiveRefCntPtr::getPtr() function
It was deprecated in r212366 and all uses have been switched to get().
Modified:
llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h
Modified: llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h?rev=212382&r1=212381&r2=212382&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h (original)
+++ llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h Sat Jul 5 17:20:59 2014
@@ -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) {
More information about the llvm-commits
mailing list