Community
Participate
Working Groups
Build Identifier: 7.0.2.201102110609 See below Reproducible: Always Steps to Reproduce: 1.Create a remote C/C++ project. -- add a source file 'myClass.C' with code: #include "myClass.h" myClass::myClass() { } myClass::~myClass() { } int main(void){ myClass a; return 0; } -- add a header file 'myClass.h' with code: #ifndef MYCLASS_H_ #define MYCLASS_H_ class myClass { public: myClass(); virtual ~myClass(); }; #endif /* MYCLASS_H_ */ 2. Do a remote c/c++ search on "myClass", only check 'Method' in 'Search for'. 3. Double click myClass::myClass (2 matches) in Search View, you can see that 'a' is highlighted.
Note: This issue also happens using C/C++ Search on a local C++ project.
This is cause by select reference in search setting. Will modify the test case.
This is a right result as "a" is a reference of myClass. If you uncheck the reference in the search condition, you won't see it in the search result.