aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2024-01-26 10:19:03 -0800
committerGitHub <noreply@github.com>2024-01-26 10:19:03 -0800
commit5f22d3356cda0a9b1521c839c006f61b5cc504fc (patch)
tree87c5501af134ec4b3b16804a4bd01d799c3b65a9 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parent7f518ee9eaa53fcd475e374aaed05ada4573d115 (diff)
downloadllvm-5f22d3356cda0a9b1521c839c006f61b5cc504fc.zip
llvm-5f22d3356cda0a9b1521c839c006f61b5cc504fc.tar.gz
llvm-5f22d3356cda0a9b1521c839c006f61b5cc504fc.tar.bz2
[lldb][NFCI] Change BreakpointIDList::FindBreakpointID to BreakpointIDList::Contains (#79517)
`FindBreakpointID` take a BreakpointID and a pointer to a size_t (so you can get position information). It returns a bool to indicate whether the id was found in the list or not. There are 2 callers of this currently and neither one actually uses the position information, so I removed it. After that, I renamed it to Contains to more accurately reflect the intent. Additionally, I changed the argument type from a reference to a value (because BreakpointID is just a wrapper around 2 integers, copies are cheap).
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions