diff options
| author | Kadir Cetinkaya <kadircet@google.com> | 2021-05-19 13:45:44 +0200 |
|---|---|---|
| committer | Kadir Cetinkaya <kadircet@google.com> | 2021-05-26 16:57:30 +0200 |
| commit | 8f79203a22d8e04086f4cc9a58bb365148852a09 (patch) | |
| tree | e7f3b9e13dfe87a21e23dca3ca2a81c6e2f3962c /llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp | |
| parent | 5f500d73cd1aaff4c9ab2fd5c327c2d5ca9ae5c9 (diff) | |
| download | llvm-8f79203a22d8e04086f4cc9a58bb365148852a09.zip llvm-8f79203a22d8e04086f4cc9a58bb365148852a09.tar.gz llvm-8f79203a22d8e04086f4cc9a58bb365148852a09.tar.bz2 | |
[clangd] New ParsingCallback for semantics changes
Previously notification of the Server about semantic happened strictly
before notification of the AST thread.
Hence a racy Server could make a request (like semantic tokens) after
the notification, with the assumption that it'll be served fresh
content. But it wasn't true if AST thread wasn't notified about the
change yet.
This change reverses the order of those notifications to prevent racy
interactions.
Differential Revision: https://reviews.llvm.org/D102761
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp')
0 files changed, 0 insertions, 0 deletions
