[clangd] Refine the workflow for diagnostic Fixits.
authorHaojian Wu <hokein.wu@gmail.com>
Sat, 8 Jul 2023 20:55:00 +0000 (22:55 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Tue, 18 Jul 2023 15:25:08 +0000 (17:25 +0200)
commitf4f6c229bde8f42721482469bd5a3d050d254d82
treecf7e5a5eae94db0e709a2ad67468b64fc3e3eb87
parent793a349e6f16888476cd365f7f958652347f4569
[clangd] Refine the workflow for diagnostic Fixits.

- No longer store the diagnostic fixits in the clangdLSPServer
- When propagating the fixit via the code action, we use the Diag
  information stored in the ParsedAST (in clangdServer.cpp)

Differential Revision: https://reviews.llvm.org/D155173
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdLSPServer.h
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/clangd/Protocol.h