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

Details

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

    Description

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

      Attachments

        1. namespacebug.cpp
          0.2 kB
        2. namespacebug.h
          0.2 kB

        Activity

          People

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

            Dates

              Created:
              Updated: