aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-06-04 19:16:05 -0700
committerRichard Smith <richard@metafoo.co.uk>2020-06-05 16:05:32 -0700
commit825e3bb58082eafa8db87a9034379b88f892ce9d (patch)
tree53414ced6838d1e4d19f148c7539251c85828225 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentebcbd5ba39c017bb621eefa3175a224aae85ddc8 (diff)
downloadllvm-825e3bb58082eafa8db87a9034379b88f892ce9d.zip
llvm-825e3bb58082eafa8db87a9034379b88f892ce9d.tar.gz
llvm-825e3bb58082eafa8db87a9034379b88f892ce9d.tar.bz2
PR46209: properly determine whether a copy assignment operator is
trivial. We previously took a shortcut by assuming that if a subobject had a trivial copy assignment operator (with a few side-conditions), we would always invoke it, and could avoid going through overload resolution. That turns out to not be correct in the presenve of ref-qualifiers (and also won't be the case for copy-assignments with requires-clauses either). Use the same logic for lazy declaration of copy-assignments that we use for all other special member functions. Previously committed as c57f8a3a20540fcf9fbf98c0a73f381ec32fce2a. This now also includes an extension of LLDB's workaround for handling special members without the help of Sema to cover copy assignments.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions