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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            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
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to