diff options
author | Sam McCall <sam.mccall@gmail.com> | 2020-10-05 21:41:35 +0200 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2020-10-06 11:57:38 +0200 |
commit | 3cb1220709fa556d4d29ce0e25fd30a16895ae24 (patch) | |
tree | 9ca36bdda52278ef5b4f0c65689ef5c69936db66 /llvm/lib/CodeGen/StackMaps.cpp | |
parent | 27f3d51b4ef9bf4dc9cfeed88f66fcfc7ee99ee9 (diff) | |
download | llvm-3cb1220709fa556d4d29ce0e25fd30a16895ae24.zip llvm-3cb1220709fa556d4d29ce0e25fd30a16895ae24.tar.gz llvm-3cb1220709fa556d4d29ce0e25fd30a16895ae24.tar.bz2 |
[clangd] Add `score` extension to workspace/symbol response.
The protocol doesn't really incorporate ranking.
As with code completion, most clients respect what the server sends, but
VSCode re-ranks items, with predictable results.
See https://github.com/clangd/vscode-clangd/issues/81
There's no filterText field so we may be unable to construct a good workaround.
But expose the score so we may be able to do this on the client in future.
Differential Revision: https://reviews.llvm.org/D88844
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions