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

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 10 03:31:18 PDT 2019


kadircet added inline comments.


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


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