1.. title:: clang-tidy - misc-unconventional-assign-operator
2
3misc-unconventional-assign-operator
4===================================
5
6
7Finds declarations of assign operators with the wrong return and/or argument
8types and definitions with good return type but wrong ``return`` statements.
9
10  * The return type must be ``Class&``.
11  * Works with move-assign and assign by value.
12  * Private and deleted operators are ignored.
13  * The operator must always return ``*this``.
14