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

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.14.2
    • C/C++/Obj-C++ Support
    • None
    • 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

            kandeler Christian Kandeler
            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