llvm.org GIT mirror llvm / 72bffaa
[ADT/IntrusiveRefCntPtr] Give friend access to IntrusiveRefCntPtr<X> so the relevant move constructor can access 'Obj'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218295 91177308-0d34-0410-b5e6-96231b3b80d8 Argyrios Kyrtzidis 5 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
196196 private:
197197 void retain() { if (Obj) IntrusiveRefCntPtrInfo::retain(Obj); }
198198 void release() { if (Obj) IntrusiveRefCntPtrInfo::release(Obj); }
199
200 template
201 friend class IntrusiveRefCntPtr;
199202 };
200203
201204 template