<div dir="ltr"><div><div><div>The modernize-use-equals-delete check despite not saying much about it in the docs thinks that deleted member functions should be public (<a href="https://github.com/llvm-mirror/clang-tools-extra/blob/master/test/clang-tidy/modernize-use-equals-delete.cpp#L145">https://github.com/llvm-mirror/clang-tools-extra/blob/master/test/clang-tidy/modernize-use-equals-delete.cpp#L145</a>) and it's thus going off on Qt's Q_DISABLE_COPY (<a href="http://doc.qt.io/qt-5/qobject.html#Q_DISABLE_COPY">http://doc.qt.io/qt-5/qobject.html#Q_DISABLE_COPY</a>) macro.<br><br></div>The guidelines from Qt are that this macro be private, not public, and it's unclear to us why clang-tidy thinks so. Could anyone shed some light on the reasoning?<br><br></div>Thanks,<br></div>Vadim<br></div>