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: unassignedclangb...@nondot.org
Reporter: kadircetinkaya.06...@gmail.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs