diff options
| author | Kadir Cetinkaya <kadircet@google.com> | 2021-12-20 15:51:09 +0100 |
|---|---|---|
| committer | Kadir Cetinkaya <kadircet@google.com> | 2021-12-20 17:22:24 +0100 |
| commit | 81967b4fa77ab5fc9840f272cb4fab1814df11e7 (patch) | |
| tree | 893bd99ed523f9ca705f2e45198e9a81374d9eb5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 37e6bd8bc8da29ad485547a683c6685254d4011d (diff) | |
[clangd] Don't trim xrefs references if we overran the limit
This preserves all the results we've processed already rather than
throwing them away in the end.
It has some performance implications on the edge cases, in the worst case we
might issue 1 relations and 2 xrefs requests in extra to deduce `HasMore`
correctly.
Fixes https://github.com/clangd/clangd/issues/204.
Differential Revision: https://reviews.llvm.org/D116043
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
