[PATCH] D148489: [clangd] Implement configs to stop clangd produce a certain semantic tokens

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 8 23:48:24 PDT 2023


nridge added inline comments.


================
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:400
+  bool ActiveKindLookup[static_cast<size_t>(HighlightingKind::LastKind) + 1];
+  uint32_t ActiveModifiersMask;
+};
----------------
daiyousei-qz wrote:
> nridge wrote:
> > For good measure, let's `static_assert(HighlightingModifier::LastModifier < 32)`
> IIRC, we already have such static_assert after the definition of HighlightingModifier in SemanticHighlight.h
Good point, I overlooked that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148489



More information about the cfe-commits mailing list