Calls to onDiagnosticsReady were done concurrently before. This sometimes
led to older versions of diagnostics being reported to the user after
the newer versions.
Details
Diff Detail
- Build Status
Buildable 10441 Build 10441: arc lint + arc unit
Event Timeline
clangd/ClangdServer.cpp | ||
---|---|---|
323–326 | I think we can get rid of it after refactoring threading. But we should definitely be fine with 2^64 versions. | |
unittests/clangd/ClangdTests.cpp | ||
918 | The signal should be fired on a second call to onDiagnosticsReady, but the second call won't happen before the fist one returns. |
Comment what it maps from.