[all-commits] [llvm/llvm-project] 81967b: [clangd] Don't trim xrefs references if we overran...
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Mon Dec 20 08:23:02 PST 2021
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2021-12-20 (Mon, 20 Dec 2021)
[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`
Differential Revision: https://reviews.llvm.org/D116043
More information about the All-commits