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

respect clang's macro annotation range

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important 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)

      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

       

        1. macro_if.png
          5 kB
          kof12345
        2. macro_if_else.png
          10 kB
          kof12345
        3. qtcreator-fix-endif-grey-block.patch
          0.7 kB
          kof12345
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes