This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to find out all the calling instance of a class member function?


Hi,

Suppose I have a class B in namespace A, it has several overloaded
member function doit.

I'm wondering how to find all the lines where there is a statement
that calls one particular overloaded doit member function? Is it
possible to do so from g++ command line? Or I have to modify g++ to
make it be able to do so?

Thanks,
Peng


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]