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 10409 Build 10409: arc lint + arc unit
Event Timeline
clangd/ClangdServer.cpp | ||
---|---|---|
321–324 | 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 | ||
912 | 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.