[PATCH] D60267: [clangd] Support relatedInformation in diagnostics.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 10 03:34:03 PDT 2019


ilya-biryukov added inline comments.


================
Comment at: clangd/Protocol.cpp:280
         R.DiagnosticFixes = *CodeActions;
+      if (auto CodeActions = Diagnostics->getBoolean("relatedInformation"))
+        R.DiagnosticRelatedInformation = *CodeActions;
----------------
kadircet wrote:
> `s/CodeActions/RelatedInfoSupport/`
copy-paste detected? :-)))


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60267/new/

https://reviews.llvm.org/D60267





More information about the cfe-commits mailing list