mizvekov marked 2 inline comments as done. mizvekov added inline comments.
================ Comment at: clang/lib/Sema/SemaStmt.cpp:3544 - // taking an rvalue reference. - if (cast<CXXMethodDecl>(FD)->getRefQualifier() != RQ_RValue) - break; ---------------- If there was a `IsDiagnosticsCheck &&` check here just as there is above for the constructor case, this bug could have been confined to a diagnostic issue only. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D104500/new/ https://reviews.llvm.org/D104500 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits