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

Syntax highlighting error in case of 'alias template'

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Commits:
      d14be7493f8ed963840d198315ef46b4641427bd (qt-creator/qt-creator/4.13)

      Description

      Syntax highlighting does not work correctly in template type aliases. Test project sets C++ standard to -std=c++17. Only clang code model fails in this case, the basic Qt Creator code model works as expected!

      However, 'goto definition', 'find usages' and 'refactoring' works, only the syntax highlighting fails in this case.

      See attached files.

        Attachments

        1. QtC.bug.2.PNG
          QtC.bug.2.PNG
          45 kB
        2. test.cpp
          0.4 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:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes