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

/macosx-10.10/llvmCore-3425.0.34/unittests/ADT/
H A DIntrusiveRefCntPtrTest.cpp37 struct InterceptRefCounted : public RefCountedBase<InterceptRefCounted> { struct in namespace:llvm
38 InterceptRefCounted(bool *Released, bool *Retained) function in struct:llvm::InterceptRefCounted
43 template <> struct IntrusiveRefCntPtrInfo<InterceptRefCounted> {
44 static void retain(InterceptRefCounted *I) {
48 static void release(InterceptRefCounted *I) {
57 InterceptRefCounted *I = new InterceptRefCounted(&Released, &Retained);
58 IntrusiveRefCntPtr<InterceptRefCounted> R = I;

Completed in 114 milliseconds