diff options
author | Sam McCall <sam.mccall@gmail.com> | 2018-10-24 07:59:38 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2018-10-24 07:59:38 +0000 |
commit | 16e7070e3e7640f0f081a84ec72b2a8d81f2a668 (patch) | |
tree | bfb763d0f6a6872c9a26ba20ebccf3164a755145 /llvm/lib | |
parent | 1f54500af04bcdc2a4cd41b154778abf691ed300 (diff) | |
download | llvm-16e7070e3e7640f0f081a84ec72b2a8d81f2a668.zip llvm-16e7070e3e7640f0f081a84ec72b2a8d81f2a668.tar.gz llvm-16e7070e3e7640f0f081a84ec72b2a8d81f2a668.tar.bz2 |
[clangd] Embed fixes as CodeAction, instead of clangd_fixes. Clean up serialization.
Summary:
CodeAction provides us with a standard way of representing fixes inline, so
use it, replacing our existing ad-hoc extension.
After this, it's easy to serialize diagnostics using the structured
toJSON/Protocol.h mechanism rather than assembling JSON ad-hoc.
Reviewers: hokein, arphaman
Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, kadircet, cfe-commits
Differential Revision: https://reviews.llvm.org/D53391
llvm-svn: 345119
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions