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
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clangd/ClangdServer.cpp | ||
---|---|---|
321–324 ↗ | (On Diff #115821) | 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 ↗ | (On Diff #115821) | The signal should be fired on a second call to onDiagnosticsReady, but the second call won't happen before the fist one returns. |