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

Code model error in case of local struct definition inside template functions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.14.2
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Platform/s:
      All

      Description

      Highlighting and renaming does not work on local struct members in template function definitions.

      In the attached example file the `array_{a|b|c|d}` members are not highlighted correctly. Even `rename symbol under cursor` action does not work on them!

        Attachments

        1. local-struct-error0.png
          local-struct-error0.png
          102 kB
        2. test.cpp
          1.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            asdx asdx asdx
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes