Home
last modified time | relevance | path

Searched refs:InterceptRefCounted (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ADT/
H A DIntrusiveRefCntPtrTest.cpp72 struct InterceptRefCounted : public RefCountedBase<InterceptRefCounted> { struct
73 InterceptRefCounted(bool *Released, bool *Retained) in InterceptRefCounted() function
78 template <> struct IntrusiveRefCntPtrInfo<InterceptRefCounted> {
79 static void retain(InterceptRefCounted *I) { in retain()
83 static void release(InterceptRefCounted *I) { in release()
92 InterceptRefCounted *I = new InterceptRefCounted(&Released, &Retained); in TEST()
93 IntrusiveRefCntPtr<InterceptRefCounted> R = I; in TEST()