aaronpuchert added a comment. Can't really add anything to the discussion between @Quuxplusone and the author, just a few comments about the test.
================ Comment at: clang/test/SemaCXX/implicitly-movable.cpp:1 +// RUN: %clang_cc1 -std=c++20 -fsyntax-only -fcxx-exceptions -verify %s +// RUN: %clang_cc1 -std=c++17 -fsyntax-only -fcxx-exceptions -verify %s ---------------- Could you perhaps integrate this into the existing test `clang/test/CXX/special/class.copy/implicit-move.cpp` instead? Whenever you have something that closely corresponds to the standard, `CXX` is probably the right place for a test. ================ Comment at: clang/test/SemaCXX/implicitly-movable.cpp:14 + +private: + A(const A &); ---------------- Is this testing what we want it to test? The private functions are just not part of the overload set, right? I think you should make them public and `= delete` them. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D88295/new/ https://reviews.llvm.org/D88295 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits