Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [clang-tidy] Add cert-oop58-cpp check | Gabor Bencze | 2019-12-15 | 1 | -0/+83 |
The check warns when (a member of) the copied object is assigned to in a copy constructor or copy assignment operator. Based on https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP58-CPP.+Copy+operations+must+not+mutate+the+source+object Differential Revision: https://reviews.llvm.org/D70052 |