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

Using function attributes in namespaces breaks the highlighting and the symbol navigator

    XMLWordPrintable

    Details

    • Commits:
      30c1652d109e20a3efcaaef61be108c91426d6fa (qt-creator/qt-creator/master)

      Description

      When using a function attributes such as [[nodiscard]] inside a namespace the attribute is highlighted as if it was a namespace, and is also shown in the symbol navigator in the top bar as the namespace of the function. The real namespace does not contain the function in the symbols list.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kandeler Christian Kandeler
              Reporter:
              kaisalm Kai Salm
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes