Usages split into read/write?

Nicolas Alvarez nicolas.alvarez at
Fri Jun 25 22:01:53 UTC 2010

Esben Mose Hansen wrote:
> Hi,
> would it be possible to make "show usages" split into
> * declare
> * define
> * read
> * write
> *(possible read+write)
> Currently, it lumps the read/write into "usage".

I think it would be somewhat hard to make the parser to split usages into 
those categories...

int foo=0; // declaration of foo
foo=42;    // write to foo
foo++;     // write? arguably it's reading too
aaa(foo);  // what is this?

int* bar = &foo; // or this?

MyClass obj; // declaration of obj
obj.method(); // what is this doing with obj?


(I read mailing lists through Gmane. Please don't Cc me on replies; it makes 
me get one message on my newsreader and another on email.)

More information about the KDevelop mailing list