Blame llvm-IntrusiveRefCntPtr.patch
|
Orion Poplawski |
173294e |
--- llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h 2014/09/23 05:23:29 218294
|
|
Orion Poplawski |
173294e |
+++ llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h 2014/09/23 06:06:43 218295
|
|
Orion Poplawski |
173294e |
@@ -197,6 +197,9 @@
|
|
Orion Poplawski |
173294e |
private:
|
|
Orion Poplawski |
173294e |
void retain() { if (Obj) IntrusiveRefCntPtrInfo<T>::retain(Obj); }
|
|
Orion Poplawski |
173294e |
void release() { if (Obj) IntrusiveRefCntPtrInfo<T>::release(Obj); }
|
|
Orion Poplawski |
173294e |
+
|
|
Orion Poplawski |
173294e |
+ template <typename X>
|
|
Orion Poplawski |
173294e |
+ friend class IntrusiveRefCntPtr;
|
|
Orion Poplawski |
173294e |
};
|
|
Orion Poplawski |
173294e |
|
|
Orion Poplawski |
173294e |
template<class T, class U>
|