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

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.14.2
    • C/C++/Obj-C++ Support
    • None
    • All

      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!

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

            kandeler Christian Kandeler
            asdx asdx asdx
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes