diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-01-04 18:57:31 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-01-04 18:57:31 +0000 |
commit | e988e7f22a9af0376e07b5ac975ecf77d46652fd (patch) | |
tree | 6dd2f88aa454d76769686b27ba068e88a643bf2b /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | 7b5088b3b267230a4fad4a7400f8ff47e0181d9b (diff) | |
download | bcm5719-llvm-e988e7f22a9af0376e07b5ac975ecf77d46652fd.tar.gz bcm5719-llvm-e988e7f22a9af0376e07b5ac975ecf77d46652fd.zip |
ADT: IntrusiveRefCntPtr: Broaden the definition of correct usage of RefCountedBase
This roughly matches the semantics of std::enable_shared_from_this - that it
does not dictate the ownership model of all users, but constrains those users
taking advantage of the intrusive nature to do so only when there's a guarantee
that that's the ownership model being used for the object being passed.
Reviewers: jlebar
Differential Revision: https://reviews.llvm.org/D28245
llvm-svn: 290987
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions