Lines Matching refs:assignment
1 .. title:: clang-tidy - bugprone-unhandled-self-assignment
3 bugprone-unhandled-self-assignment
9 Finds user-defined copy assignment operators which do not protect the code
10 against self-assignment either by checking self-assignment explicitly or
15 assignment breaks the object if the copy assignment operator was not written with care.
18 `OOP54-CPP. Gracefully handle self-copy assignment
19 …/wiki.sei.cmu.edu/confluence/display/cplusplus/OOP54-CPP.+Gracefully+handle+self-copy+assignment>`_
21 A copy assignment operator must prevent that self-copy assignment ruins the
23 and the copy assignment operator first releases the pointed object and
45 the self-assignment check:
95 temporary object into ``this`` (needs a move assignment operator):
123 When `true`, the check will warn only if the container class of the copy assignment operator