Finding the receiver of a fcall
Bertjan Broeksema
bertjan at kdab.net
Tue Dec 1 12:40:19 UTC 2009
Hi all,
I wondered if it is possible (and I think it should be somehow) to find out
which object is the receiver of the result of a function/ctor call.
e.g.
Foo foo = new Foo(); // Find declaration of foo given the use of ctor ()
Foo foo = someObject.foo(); // find declaration of foo given the use of
function foo().
What I want to do is this. I start with the declaration of a function/ctor
call. I iterate over all its uses and at that point I'd like to find out to
which variable the result is assigned.
Cheers,
Bertjan
More information about the KDevelop-devel
mailing list