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

C++ code model gets confused when putting static before a Q_LOGGING_CATEGORY macro

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 14.0.0
    • Qt Creator 3.3.0-rc1, Qt Creator 3.3.1
    • C/C++/Obj-C++ Support
    • None

      static Q_LOGGING_CATEGORY(log, "bla.log")
      confuses the following namespace bla
      (wrong indent, namespace not "seen",...).
      See the attached files.

        1. namespacebug.cpp
          0.2 kB
          Fawzi Mohamed
        2. namespacebug.h
          0.2 kB
          Fawzi Mohamed
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            fawzi Fawzi Mohamed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes