diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-07-23 13:06:51 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-07-23 13:09:08 -0700 |
commit | cee60bbf417dbec1cb3df6fc465ac06295a0cd9d (patch) | |
tree | b30337fcca0d4f0d98c138c3d903eb1fb57406b2 /llvm/lib/Support/ThreadPool.cpp | |
parent | ac375c2fe316dae6eb770b38f90d6b67fadd22ec (diff) | |
download | llvm-cee60bbf417dbec1cb3df6fc465ac06295a0cd9d.zip llvm-cee60bbf417dbec1cb3df6fc465ac06295a0cd9d.tar.gz llvm-cee60bbf417dbec1cb3df6fc465ac06295a0cd9d.tar.bz2 |
[lldb] Remove the user-defined copy-ctor in ConstString
ConstString is essentially trivially copyable yet it has a user defined
copy constructor that copies its one member pointer. Remove it so it
qualifies as trivial in the eyes of the compiler.
This also fixes two unused variable warnings now that the compiler knows
that the constructor has no side-effects.
Differential revision: https://reviews.llvm.org/D84440
Diffstat (limited to 'llvm/lib/Support/ThreadPool.cpp')
0 files changed, 0 insertions, 0 deletions