[PATCH] D57509: [clangd] Append "(fix available)" to diagnostic message when fixes are present.

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 31 05:45:02 PST 2019


ioeric created this revision.
ioeric added a reviewer: sammccall.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.

This would make diagnostic fixits more discoverable, especially for
plugins like YCM.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D57509

Files:
  clangd/Diagnostics.cpp
  test/clangd/diagnostic-category.test
  test/clangd/diagnostics.test
  test/clangd/did-change-configuration-params.test
  test/clangd/execute-command.test
  test/clangd/fixits-codeaction.test
  test/clangd/fixits-command.test
  test/clangd/fixits-embed-in-diagnostic.test
  unittests/clangd/DiagnosticsTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57509.184488.patch
Type: text/x-patch
Size: 9776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190131/645ec440/attachment-0001.bin>


More information about the cfe-commits mailing list