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

[clangd] parse error in macos headers

    XMLWordPrintable

Details

    • 8ad7ab2d2a (qt-creator/qt-creator/7.0) 8ad7ab2d2a (qt-creator/qt-creator/master) 8ad7ab2d2a (qt-creator/tqtc-qt-creator/7.0) 8ad7ab2d2a (qt-creator/tqtc-qt-creator/master) 8ad7ab2d2a (qt-creator/tqtc-qt-creator/qds-3.1)

    Description

      there's a small cosmetic issue with clangd when parsing macos system headers:
      when looking at macos system headers, it seems that stdint.h is not properly traversed: standard c99 types are not defined. when opening stdint.h itself, the `#include_next` directive doesn't seem to be properly parsed, either.

      this makes me wonder if the `#include_next` breaks the parsing also for "normal" system headers?

      Attachments

        1. stdint.h.png
          stdint.h.png
          360 kB
        2. macos-system-header.png
          macos-system-header.png
          462 kB
        For Gerrit Dashboard: QTCREATORBUG-26697
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes