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

Follow symbol incorrectly jumps to forward typedefs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • Qt Creator 16.0.1
    • C/C++/Obj-C++ Support

    Description

      Given this:

      typedef struct name name;

      and later this:

      typedef struct name {

         ...

      } name;

      "Follow Symbol Under Cursor" unfortunately jumps to the forward typedef, but developers want to jump to the full typedef to see the structure.

      It's reproducible without Clang Code Model (that's too slow to use with big projects).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            mareko Marek Olšák
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes