diff options
| author | David Blaikie <dblaikie@gmail.com> | 2020-12-03 15:28:40 -0800 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2020-12-03 17:42:32 -0800 |
| commit | 2e83ccc2ee333389110659f3cb313968a0c970d4 (patch) | |
| tree | 4296b7a4f991507bd05a7bbdf0995852e823e453 /llvm/lib/Support/VirtualFileSystem.cpp | |
| parent | c95acf052b53e5c18e380b8632e7de24b5e65dbe (diff) | |
ADT: Support copying of IntrusiveRefCntPtr objects
This was partially supported but untested for RefCountedBase (the
implicit copy assignment would've been problematic - so delete that) and
unsupported (would not have compiled, because std::atomic is
non-copyable) for ThreadSafeRefCountedBase (implement similar support
to RefCountedBase)
Fix the test that had a copy ctor for the derived object but called
RefCountBase's default ctor from that copy ctor - which meant it wasn't
actually testing RefCountBase's copy semantics.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions
