Cppcheck
|
false negative: we assume function changes variable state
False Negative: we should look at the base class functions to see if they call any derived class virtual functions that change the derived class state
Check how the struct is used. Only bail out if necessary