This would allow clangd embedders to use the ClangdServer::rename for other
purposes (highlighting all the occurrences of the symbol in prepare
stage).
Details
Details
- Reviewers
sammccall ilya-biryukov - Commits
- rG6b043f051836: [clangd] Add a flag to clangdServer rename function to control whether we want…
rCTE365631: [clangd] Add a flag to clangdServer rename function to control whether we want…
rL365631: [clangd] Add a flag to clangdServer rename function to control whether we want…
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with a small NIT.
Was also thinking about adding a test for this, but the amount of work required to do so seems to outweigh the usefulness. Therefore seems ok to land without the test too.
But up to you.
| clang-tools-extra/clangd/ClangdServer.h | ||
|---|---|---|
| 244 ↗ | (On Diff #208932) | Could you add a short comment mentioning the highlight use-case? (the review description seems to be a good fit) |