Finding the receiver of a fcall
bertjan at kdab.net
Tue Dec 1 12:40:19 UTC 2009
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.
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
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.
More information about the KDevelop-devel