location of a base
class's move assignment operator.
gcc/testsuite/ChangeLog:
* g++.dg/warn/ignore-virtual-move-assign.C: New test.
Co-authored-by: Jason Merrill
Signed-off-by: Owen Avery
---
gcc/cp/method.cc | 4 +-
.../g++.dg/warn/ignore-vi
hored-by: Jason Merrill
Signed-off-by: Owen Avery
---
gcc/cp/method.cc | 4 +-
.../g++.dg/warn/ignore-virtual-move-assign.C | 45 +++
2 files changed, 48 insertions(+), 1 deletion(-)
create mode 100644 gcc/testsuite/g++.dg/warn/ignore-virtual
Yeah, that looks way simpler. Should I add you as co-author on the
patch?
On 4/28/25 22:13, Jason Merrill wrote:
On 4/28/25 5:07 PM, Owen Avery wrote:
As far as I can tell, that would need to be applied to every class
which virtually inherits from such a base class, rather than just the
base
I'm open to renaming the attribute and/or test file, of course.
bute list.
gcc/ChangeLog:
* doc/extend.texi (C++-Specific Variable, Function, and Type
Attributes): Document handles_virtual_move_assign.
gcc/testsuite/ChangeLog:
* g++.dg/warn/Wvirtual-move-assign-1.C: New test.
Signed-off-by: Owen Avery
---
g