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

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 07:50:39 PDT 2019


hokein accepted this revision.
hokein added a comment.
This revision is now accepted and ready to land.

Let's rephrase the commit message, I think this patch is just to "emit the semantic highlighting tokens when the main AST is built".



================
Comment at: clang-tools-extra/clangd/unittests/ClangdTests.cpp:844
 
+TEST(ClangdSemanticHighlightingTest, GeneratesHighlightsWhenFileChange) {
+  class HighlightingsCounterDiagConsumer : public DiagnosticsConsumer {
----------------
maybe move this test to SemanticHighlightingTests.


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