[PATCH] D155173: [clangd] Refine the workflow for diagnostic Fixits.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 13 03:53:47 PDT 2023


hokein created this revision.
hokein added a reviewer: kadircet.
Herald added a subscriber: arphaman.
Herald added a project: All.
hokein requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155173

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155173.539941.patch
Type: text/x-patch
Size: 15308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230713/0f6eac83/attachment-0001.bin>


More information about the cfe-commits mailing list