eclipse does this for java, never tried it for c++, but probably does it there too?
–
falstroJan 8 '10 at 12:28

This is typically a feature of the IDE you are using. In Visual Studio 2008, for example, you have "Find all references". (I normally don't use there features in C++ anyway, because I found most of them to be buggy.)
–
Daniel DaranasJan 8 '10 at 12:29

1

Simple tool? Just resolving what a name refers to in C++ is hard.
–
Ira BaxterFeb 4 '12 at 17:49

Don't know about simple tools, but for free, there's codeviz (you can read the raw dumps rather than generate graphs if you prefer that). Caveat: all static analysis tools have some problems with virtual calls, and even worse with templates.