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

respect clang's macro annotation range

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 4.13.0-beta1
    • Qt Creator 4.11.1, Qt Creator 4.12.0-beta1, Qt Creator 4.13.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • Linux/X11
    • f9a5ad4d3cf85f93beb87f34e023e2be4acd7415 (qt-creator/qt-creator/4.13)

    Description

      we should respect clang's annotation result, because

      1. clang is more accurate than builtin code model
      2. doing somehow hacking adaptation is error-prone
      3. not necessary to keep in conformity with builtin code model, as the adaptation intent to do initially

       

      Attachments

        1. qtcreator-fix-endif-grey-block.patch
          0.7 kB
          kof12345
        2. macro_if.png
          5 kB
          kof12345
        3. macro_if_else.png
          10 kB
          kof12345

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              kof12345 kof12345
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes