'Is there a c++ analyzer to give member variables modified/used/referenced by a function

A function's side effect is to change global variables. For c, it can be only global variables or static variables. But c++, a member function often modifies a member variable. Is there a way to give a summary which member variables are modified/used/referenced by a function? I'm using Scitools Understand. It is a great tool, but I cannot get which member variables are modified/used/referenced by a function. It only gives use of global variables. For c, it may be enough. But c++ has member variables. enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source