Home
last modified time | relevance | path

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

/external/llvm/unittests/ADT/
DIntrusiveRefCntPtrTest.cpp39 struct InterceptRefCounted : public RefCountedBase<InterceptRefCounted> { struct
40 InterceptRefCounted(bool *Released, bool *Retained) in InterceptRefCounted() function
45 template <> struct IntrusiveRefCntPtrInfo<InterceptRefCounted> {
46 static void retain(InterceptRefCounted *I) { in retain()
50 static void release(InterceptRefCounted *I) { in release()
59 InterceptRefCounted *I = new InterceptRefCounted(&Released, &Retained); in TEST()
60 IntrusiveRefCntPtr<InterceptRefCounted> R = I; in TEST()