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

Sometimes outdated diagnostics appear out of nowhere

    XMLWordPrintable

    Details

      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. Err1.png
          Err1.png
          78 kB
        2. falsche-meldung-1.png
          falsche-meldung-1.png
          44 kB
        3. falsche-meldung-2.png
          falsche-meldung-2.png
          88 kB
        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:

                Gerrit Reviews

                There are no open Gerrit changes