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

Follow symbol incorrectly jumps to forward typedefs

XMLWordPrintable

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

      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).

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes