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

Incorrect struct member type highlighting

    XMLWordPrintable

Details

    • Linux/X11

    Description

      In the following code sample:

      #include <cstdint>
      
      struct my_struct
      {
      	static constexpr std::uint32_t constant = 10;
      	std::uint32_t value;
      };
      

      uint32_t is colored as a data member, static for constant and non-static for value.

      clangd is disabled in QtCreator settings.

      This did not happen with QtCreator 7.0 beta2 build 794 (from revision https://code.qt.io/cgit/qt-creator/qt-creator.git/log/?id=49a7ada03fffd447b0d474a5dfb8f9a1657c06bb).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            lastique Andrey Semashev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes