aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2023-09-06 10:37:10 -0700
committerGitHub <noreply@github.com>2023-09-06 10:37:10 -0700
commitd1487670ee1caaf1762c341f9f96cfb07540b5c1 (patch)
tree132e5260bf97735bc81bd68717479039a55731e6 /clang/lib/Basic/SourceManager.cpp
parentd015e481d72e7657b011047e0287756bab5464cf (diff)
downloadllvm-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