llvm-project/clang-tools-extra/docs/clang-tidy/checks/misc-assign-operator-signat...

13 lines
340 B
ReStructuredText

.. title:: clang-tidy - misc-assign-operator-signature
misc-assign-operator-signature
==============================
Finds declarations of assign operators with the wrong return and/or argument
types.
* The return type must be ``Class&``.
* Works with move-assign and assign by value.
* Private and deleted operators are ignored.