Searched refs:ResourcePtr (Results 1 – 2 of 2) sorted by relevance
77 ResourceOwnerImpl(ResourcePtrT ResourcePtr) in ResourceOwnerImpl() argument78 : ResourcePtr(std::move(ResourcePtr)) {} in ResourceOwnerImpl()79 ResourceT& getResource() const override { return *ResourcePtr; } in getResource()81 ResourcePtrT ResourcePtr;86 wrapOwnership(ResourcePtrT ResourcePtr) { in wrapOwnership() argument88 return llvm::make_unique<RO>(std::move(ResourcePtr)); in wrapOwnership()
181 ResourceOwnerImpl(ResourcePtrT ResourcePtr) in ResourceOwnerImpl() argument182 : ResourcePtr(std::move(ResourcePtr)) {} in ResourceOwnerImpl()184 ResourceT& getResource() const override { return *ResourcePtr; } in getResource()187 ResourcePtrT ResourcePtr;192 wrapOwnership(ResourcePtrT ResourcePtr) { in wrapOwnership() argument194 return std::make_unique<RO>(std::move(ResourcePtr)); in wrapOwnership()