Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 4.14.1
Description
When one tries to do a "Find References to Symbol Under Cursor" and the method is inside an if-statement where there is also a init-statement it doesn't work:
if (QScopedPointer<GitMerge> gitMerge(new GitMerge(mGitBase, mGitQlientCache)); gitMerge->isInMerge()) { ... }
Result of Find References:
Result of advance search:
Prove that removing the init-statement makes it work:
This is really painful when dealing with code refactors.