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

Wrong outline when using c++ "meta" macros

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.10.2
    • Editors
    • None
    • Linux Fedora 30, XFCE
    • Linux/Other display system

    Description

      Hi,

      I am using a 'meta' macro (one that takes other macro name as parameter) for similar code pieces (see attached file animal.cpp). While doing so the outline is rendered incorrectly (see attached screenshot QtCreatorOutline.png).

      This applies to both the outline dropdown box next to the current file box (as shown in the screenshot) as well as the outline view.

      I guess the macro definitions is confusing the outline renderer.

      Best Regards,

      Gerd Rother

      Attachments

        1. animal.cpp
          0.8 kB
        2. animal.h
          0.2 kB
        3. main.cpp
          0.1 kB
        4. QtCreatorOutline.png
          QtCreatorOutline.png
          84 kB
        5. TestQtCreator.pro
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            gerastios Gerd Rother
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes