Skip to content

Commit

Permalink
Remove IntrusiveRefCntPtr::getPtr() function
Browse files Browse the repository at this point in the history
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
  • Loading branch information
atoker committed Jul 5, 2014
1 parent f92e09e commit e45100f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/llvm/ADT/IntrusiveRefCntPtr.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,6 @@ class ThreadSafeRefCountedBase {

T* get() const { return Obj; }

/// Deprecated: use get().
T* getPtr() const { return Obj; }

LLVM_EXPLICIT operator bool() const { return Obj; }

void swap(IntrusiveRefCntPtr& other) {
Expand Down

0 comments on commit e45100f

Please sign in to comment.