quote:
Originally posted by accord
Are you aware of our current filtering methods? You can filter by write and read references.
We're also considering to indicate lines where symbol might be modified in Find References Results list:
case=9955
I've been using this feature now and find it great, but it does need an extra category for handling pass by reference cases, where the variable could get written to by a function it is passed to under another name, e.g.
void set(int &var, int value)
{
var = value;
}
int x = 0;
set(x,1); // VA lists this as a read, but it is actually a write
This problem also exists on certain operator overloads, such as CArchive::>> in MFC