aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorJamie Schmeiser <schmeise@ca.ibm.com>2022-10-26 13:50:11 -0400
committerJamie Schmeiser <schmeise@ca.ibm.com>2022-10-26 13:50:11 -0400
commitb115ba005030281d9dc85655fbfddf99c0dd82c1 (patch)
treeaba21a3168aab10550eaa01f76a03325760a6ce2 /lldb/packages/Python/lldbsuite/test
parentad78ce44bb4771139d2a18d6e1052268a7507a52 (diff)
downloadllvm-b115ba005030281d9dc85655fbfddf99c0dd82c1.zip
llvm-b115ba005030281d9dc85655fbfddf99c0dd82c1.tar.gz
llvm-b115ba005030281d9dc85655fbfddf99c0dd82c1.tar.bz2
[NFC] Introduce range based singleton searches for loop queries.
Summary: Several loop queries look for a singleton by finding all instances and then returning whether there is 1 instance or not. This can be improved by stopping the search after 2 have been found. Introduce generic range based singleton searches that stop after finding a second value and use them for these loop queries. There is no intended functional change other than improved compile-time efficiency. Author: Jamie Schmeiser <schmeise@ca.ibm.com> Reviewed By: Meinersbur (Michael Kruse) Differential Revision: https://reviews.llvm.org/D136261
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions