[llvm][ADT] Implement `IntrusiveRefCntPtr::useCount()` (#65502)
This function has the same semantics as `std::shared_ptr<T>::use_count()`, and enables implementing copy-on-write semantics.
Loading
Please sign in to comment
This function has the same semantics as `std::shared_ptr<T>::use_count()`, and enables implementing copy-on-write semantics.