1 year ago

#375477

test-img

Tokubara

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

c++

ide

clion

static-analysis

0 Answers

Your Answer

Accepted video resources