Details
- Reviewers
sammccall - Commits
- rG8af9a373ad95: Add missing semantic highlighing for concepts.
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/SemanticHighlighting.cpp | ||
---|---|---|
966 | if we add this logic it definitely needs a comment explaining that we're looking for the auto token (because we're not doing so directly) and why | |
969 | getLocWithOffset(1) is just jumping one byte in the source code IIUC the intention here is to jump to the auto token, and the AutoTypeLoc doesn't actually expose this I'd suggest:
|
clang-tools-extra/clangd/SemanticHighlighting.cpp | ||
---|---|---|
969 | It seems that we can directly get the correct location, see above. |
if we add this logic it definitely needs a comment explaining that we're looking for the auto token (because we're not doing so directly) and why