K
Kurt Schwemmer
I've been tasked with cleaning up a big C++ project that extensively
uses global variables.
What would be very useful is a tool that would parse the code and
create a dependency tree of variables. So the parser would look at
the rvalue symbols in an assigment and make them dependencies of the
lvalue. So you'd know how all the variables are related and delete
unused branches of variables etc. I realize that a tool like this
could get much more complex than what I've mentioned...
Does anyone know if a tool like this exists? Can you point me in the
right direction if it does?
Thanks,
Kurt Schwemmer
uses global variables.
What would be very useful is a tool that would parse the code and
create a dependency tree of variables. So the parser would look at
the rvalue symbols in an assigment and make them dependencies of the
lvalue. So you'd know how all the variables are related and delete
unused branches of variables etc. I realize that a tool like this
could get much more complex than what I've mentioned...
Does anyone know if a tool like this exists? Can you point me in the
right direction if it does?
Thanks,
Kurt Schwemmer