[llvm-bugs] [Bug 46905] New: findNearbyTokens traverses whole file in redundant cases
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jul 30 02:31:28 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46905
Bug ID: 46905
Summary: findNearbyTokens traverses whole file in redundant
cases
Product: clang-tools-extra
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: clangd
Assignee: unassignedclangbugs at nondot.org
Reporter: kadircetinkaya.06.tr at gmail.com
CC: llvm-bugs at lists.llvm.org
Blocks: 46725
Binary search predicate was wrong, resulting in an incorrect search but rest of
the logic was compensating for the failure by doing an exhaustive linear search
(with a sub-optimal outcome).
https://reviews.llvm.org/D84912 fixes the issue.
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=46725
[Bug 46725] [meta] 11.0.0 Release Blockers
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200730/eaaa1e4d/attachment.html>
More information about the llvm-bugs
mailing list