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

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

Completed in 122 milliseconds