diff options
author | David Blaikie <dblaikie@gmail.com> | 2021-05-10 14:28:09 -0700 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2021-05-10 14:31:11 -0700 |
commit | 6dc2a6a8c9a0e4f8b46a0ba05430b77229789b8e (patch) | |
tree | f95caee2eb6c15eb88bdc939d1c80f72fa52d30e /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 5577e866912e86147206ffc586e4f080c59ae4bf (diff) | |
download | llvm-6dc2a6a8c9a0e4f8b46a0ba05430b77229789b8e.zip llvm-6dc2a6a8c9a0e4f8b46a0ba05430b77229789b8e.tar.gz llvm-6dc2a6a8c9a0e4f8b46a0ba05430b77229789b8e.tar.bz2 |
Remove some unnecessary explicit defaulted copy ctors to cleanup -Wdeprecated-copy
These types also wanted to be/were copy assignable, and using the
implicit copy ctor is deprecated in the presence of an explicit copy
ctor.
Removing the explicit copy ctor provides the desired behavior - both
ctor and assignment operator are available implicitly.
Also while I was nearby there were some missing std::moves on shared
pointer parameters.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions