kadircet added inline comments.

================
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:229
+    if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
+      if (VD->isLocalVarDecl()) {
+        addToken(Loc, HighlightingKind::LocalVariable);
----------------
nit: `addToken(Loc, VD->isLocalVarDecl() ? HighlightingKind::LocalVariable : 
HighlightingKind::Variable)`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66723



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to