diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2021-03-02 16:43:21 +0100 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2021-03-03 15:41:39 +0100 |
commit | 188373fb46979d8141e9f844f13a85157b1ce5dd (patch) | |
tree | 073ba4a6bc544fe5cc4aad20a00bb10c3e99d5bb /clang/lib/CodeGen/CodeGenModule.h | |
parent | 15f495c0bcb2fcab282582d9a50e234e4103cd1a (diff) | |
download | llvm-188373fb46979d8141e9f844f13a85157b1ce5dd.zip llvm-188373fb46979d8141e9f844f13a85157b1ce5dd.tar.gz llvm-188373fb46979d8141e9f844f13a85157b1ce5dd.tar.bz2 |
[clangd] Make WorkspaceSymbols request work with empty queries
Clangd uses codecompletion limit as the limit for workspacesymbols, so
in theory this should only be an order of magnitude slower than a
codecompletion request with empty identifier (as code completion limits
the available symbols).
This is also what LSP suggests "Clients may send an empty string here to request all symbols.".
Clangd doesn't really fulfill the "all" part of that statement, but we
never do unless user set the index query limit to zero explicitly.
Differential Revision: https://reviews.llvm.org/D97773
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions