reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
125 static void retain(T *obj) { obj->Retain(); } 126 static void release(T *obj) { obj->Release(); } 136 T *Obj = nullptr; 139 using element_type = T; 142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } 147 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { 152 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { 163 T &operator*() const { return *Obj; } 164 T *operator->() const { return Obj; } 165 T *get() const { return Obj; } 169 T *tmp = other.Obj; 184 IntrusiveRefCntPtrInfo<T>::retain(Obj); 189 IntrusiveRefCntPtrInfo<T>::release(Obj);tools/clang/include/clang/Rewrite/Core/RewriteRope.h
59 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData; 64 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start, 171 llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;tools/clang/lib/Rewrite/RewriteRope.cpp
788 unsigned Size = End-Start+sizeof(RopeRefCountString)-1; 789 auto *Res = reinterpret_cast<RopeRefCountString *>(new char[Size]); 799 auto *Res = reinterpret_cast<RopeRefCountString *>(new char[AllocSize]);