aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorAleksandr Platonov <platonov.aleksandr@huawei.com>2020-09-29 19:54:33 +0300
committerAleksandr Platonov <platonov.aleksandr@huawei.com>2020-09-29 19:54:55 +0300
commitd8ba6b4ab3eceb6bbcdf4371d4ffaab9d1a5cebe (patch)
treedc0968b6ede3bf2680bd638c7e40af8d30f37389 /lldb/unittests/ScriptInterpreter/Python
parent2159ed811f96cb1aefecf3369d80e69e06fd32a3 (diff)
downloadllvm-d8ba6b4ab3eceb6bbcdf4371d4ffaab9d1a5cebe.zip
llvm-d8ba6b4ab3eceb6bbcdf4371d4ffaab9d1a5cebe.tar.gz
llvm-d8ba6b4ab3eceb6bbcdf4371d4ffaab9d1a5cebe.tar.bz2
[clangd] findNearbyIdentifier(): guaranteed to give up after 2^N lines
As @kadircet mentions in D84912#2184144, `findNearbyIdentifier()` traverses the whole file if there is no identifier for the word. This patch ensures give up after 2^N lines in any case. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D87891
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions