diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2023-09-06 10:37:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 10:37:10 -0700 |
commit | d1487670ee1caaf1762c341f9f96cfb07540b5c1 (patch) | |
tree | 132e5260bf97735bc81bd68717479039a55731e6 /clang/lib/Basic/SourceManager.cpp | |
parent | d015e481d72e7657b011047e0287756bab5464cf (diff) | |
download | llvm-d1487670ee1caaf1762c341f9f96cfb07540b5c1.zip llvm-d1487670ee1caaf1762c341f9f96cfb07540b5c1.tar.gz llvm-d1487670ee1caaf1762c341f9f96cfb07540b5c1.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions