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
- rG LLVM Github Monorepo
- Build Status
- Buildable 34688 - Build 34687: arc lint + arc unit 
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 | ||
|---|---|---|
| 247 | Could you add a short comment mentioning the highlight use-case? (the review description seems to be a good fit) | |
Could you add a short comment mentioning the highlight use-case? (the review description seems to be a good fit)