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

Syntax highlighting error in function declarations and invocations with pointer/reference of custom types as parameters.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.13.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • All

    Description

      Syntax highlighting does not work correctly in function declarations and invocations with pointer/reference parameters of custom defined types. It works with Clang code model, but it has too many drawbacks with large projects (extremely slow and other highlighting errors in macros).

      See attached files.

      Tested with multiple versions: 4.8, 4.12, 4.13 beta on Linux/X11 and win32 too.

      Attachments

        1. QtC.bug.PNG
          QtC.bug.PNG
          28 kB
        2. test.cpp
          0.6 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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes