Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26809

[clangd] Follow symbol for destructor jumps to class name

    XMLWordPrintable

Details

    • Linux/X11
    • abe09bfd76 (qt-creator/qt-creator/7.0) abe09bfd76 (qt-creator/qt-creator/master)

    Description

      Steps to reproduce:

      1. Enable Clangd
      2. Have a class with destructor declared in header and it's definition in cpp file
      3. Position cursor on destructor declaration
      4. 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

        Activity

          People

            kandeler Christian Kandeler
            volodymyr_zibarov Volodymr Zibarov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes