diff options
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-03-19 13:55:28 -0400 |
---|---|---|
committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-03-23 14:12:06 -0400 |
commit | 5f1de9cab1ce2fbb1e45239d3e0e8d4970d2124e (patch) | |
tree | 65afff415ff890ef16ce068dba5bc16eb4adb23e /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | a644920a02bfa30337c936afcdc04c9c7970b206 (diff) | |
download | llvm-5f1de9cab1ce2fbb1e45239d3e0e8d4970d2124e.zip llvm-5f1de9cab1ce2fbb1e45239d3e0e8d4970d2124e.tar.gz llvm-5f1de9cab1ce2fbb1e45239d3e0e8d4970d2124e.tar.bz2 |
[C++20] [P1825] Fix bugs with implicit-move from variables of reference type.
Review D88220 turns out to have some pretty severe bugs, but I *think*
this patch fixes them.
Paper P1825 is supposed to enable implicit move from "non-volatile objects
and rvalue references to non-volatile object types." Instead, what was committed
seems to have enabled implicit move from "non-volatile things of all kinds,
except that if they're rvalue references then they must also refer to non-volatile
things." In other words, D88220 accidentally enabled implicit move from
lvalue object references (super yikes!) and also from non-object references
(such as references to functions).
These two cases are now fixed and regression-tested.
Differential Revision: https://reviews.llvm.org/D98971
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions