It's useful to be able to distinguish local variables from namespace
scope variables.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 37251 Build 37250: arc lint + arc unit
Event Timeline
clang-tools-extra/clangd/SemanticHighlighting.h | ||
---|---|---|
38 | NIT: maybe put it right after Variable? IIUC, we do not rely on actual numeric values being the same across different clangd versions. |
clang-tools-extra/clangd/SemanticHighlighting.cpp | ||
---|---|---|
229 | nit: addToken(Loc, VD->isLocalVarDecl() ? HighlightingKind::LocalVariable : HighlightingKind::Variable) |
clang-tools-extra/clangd/SemanticHighlighting.h | ||
---|---|---|
38 | +1, related symbols should be grouped together. |
NIT: maybe put it right after Variable? IIUC, we do not rely on actual numeric values being the same across different clangd versions.