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

Sometimes outdated diagnostics appear out of nowhere

    XMLWordPrintable

    Details

    • Commits:
      3cf6d15096 (qt-creator/qt-creator/7.0) 3cf6d15096 (qt-creator/qt-creator/master) 3cf6d15096 (qt-creator/tqtc-qt-creator/7.0) 3cf6d15096 (qt-creator/tqtc-qt-creator/master) 3cf6d15096 (qt-creator/tqtc-qt-creator/qds-3.1)

      Description

      It happens rarely, but once in a while, one or more bogus diagnostics show up in the C++ editor when using the clang code model with clangd. They probably match a much older version of the file, and they definitely do not correspond to the latest diagnostics sent by the server. They must have been cached somewhere, but it's unclear where, and why they pop up all of a sudden. They even survive closing and re-opening the file.
      Two examples are attached for illustration.

        Attachments

        1. diag.png
          398 kB
          Christian Kandeler
        2. Err1.png
          78 kB
          David Casper
        3. falsche-meldung-1.png
          44 kB
          Christian Kandeler
        4. falsche-meldung-2.png
          88 kB
          Christian Kandeler

          Issue Links

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

            Activity

              People

              Assignee:
              davschul David Schulz
              Reporter:
              kandeler Christian Kandeler
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes