Hi Hannu,
The various symbol reference tools only identify locations of the
identifier desired (ie - baz) not that the give baz is indeed the slot
of class Foo.
There is a comment in the semantic-symref tool locating where to add in
the needed filter to throw out missmatches where the name is the same,
but the actual identifier is wrong. I don't think the filter will be
hard to write, but it will make the commands slow, and no-one has
attempted this yet.
Eric
On 11/13/2010 10:16 AM, Hannu Koivisto wrote:
> class Bar {
> public:
> void dum() { }
> };
>
> class Foo {
> Bar baz;
>
> void test();
> };
>
>
> test.cpp:
>
> #include "test.h"
>
>
> void wrong()
> {
> Bar baz;
>
> baz.dum();
> }
>
> void Foo::test()
> {
> baz.dum();
> }
|