Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 6.0.1, Qt Creator 7.0.0-beta1
-
None
-
-
abe09bfd76 (qt-creator/qt-creator/7.0) abe09bfd76 (qt-creator/qt-creator/master)
Description
Steps to reproduce:
- Enable Clangd
- Have a class with destructor declared in header and it's definition in cpp file
- Position cursor on destructor declaration
- Press F2 for "Follow symbol under cursor"
Expected result:
- it jumps to destructor definition in cpp file
Actual result:
- it jumps to class name in class declaration "class SomeName"
Additional info: Works OK for constructors. "Find references" for destructor also doesn't work - it finds all instances of class name, as if I was calling "Find references" for name of a class in it's declaration.
Attachments
For Gerrit Dashboard: QTCREATORBUG-26809 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
392251,2 | ClangCodeModel: Adjust cursor for following destructor symbols | 7.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |