[PATCH] D63821: [clangd] Added C++ API code for semantic highlighting

Johan Vikström via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 01:19:43 PDT 2019


jvikstrom marked 2 inline comments as done.
jvikstrom added inline comments.


================
Comment at: clang-tools-extra/clangd/ClangdServer.h:60
+  // Called by ClangdServer when some \p Highlightings for \p File are ready.
+  virtual void onHighlightingsReady(PathRef File,
+                                 std::vector<HighlightingToken> Highlightings) = 0;
----------------
hokein wrote:
> we may add this interface to the existing `DiagnosticsConsumer`.
Probably want to rename `DiagnosticsConsumer` as well, can't come up with a good name though. Any suggestions? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D63821





More information about the cfe-commits mailing list