[PATCH] D150124: [index][clangd] Consider labels when indexing function bodies
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 9 03:05:58 PDT 2023
ilya-biryukov added a reviewer: kadircet.
ilya-biryukov added a comment.
In `clangd` we also have `findExplicitReferences` and `targetDecl` functions that seem to handle the `GoToStmt`.
In fact, I believe they are used in `findDocumentHighlights`, so I'm not sure why your test did not work before this patch.
I have also not looked into `libIndex` for quite a long time, so looping in @kadircet for a second pair of eyes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150124/new/
https://reviews.llvm.org/D150124
More information about the cfe-commits
mailing list