This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Code example: ------------------8<--------------- class aclass { public:aclass(){} }; int main(int argc, char**argv) { aclass a; aclass b(); aclass *c = new aclass(); return 0; } ------------------8<--------------- Call find usages of aclass.aclass(). Expected result is 3 usages. Actual result is 1 usage.
Interesting. What if there is a constructor from int: aclass(int a) { a++; } ... and usage like: aclass a=5; However, BTW, it is not something really unexpected - it is know that we do not do a good job for overloaded operators (+, <, etc) and casts ( int(...) ) if they are used implicitly. I assume it will be better handled in the new infrastructure.