Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 6.0.0-rc1, Qt Creator 7.0.0-beta1
-
None
-
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
Issue Links
- is duplicated by
-
QTCREATORBUG-26746 [clangd] code model (sometimes) not updated
- Closed