Skip to content

Commit 59a6525

Browse files
authored
[lldb][NFCI] Remove unused method BreakpointIDList::FindBreakpointID(const char *, size_t *) (#79215)
1 parent 9ddbcee commit 59a6525

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

lldb/include/lldb/Breakpoint/BreakpointIDList.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ class BreakpointIDList {
4545
// TODO: This should take a const BreakpointID.
4646
bool FindBreakpointID(BreakpointID &bp_id, size_t *position) const;
4747

48-
bool FindBreakpointID(const char *bp_id, size_t *position) const;
49-
5048
// Returns a pair consisting of the beginning and end of a breakpoint
5149
// ID range expression. If the input string is not a valid specification,
5250
// returns an empty pair.

lldb/source/Breakpoint/BreakpointIDList.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,6 @@ bool BreakpointIDList::FindBreakpointID(BreakpointID &bp_id,
6262
return false;
6363
}
6464

65-
bool BreakpointIDList::FindBreakpointID(const char *bp_id_str,
66-
size_t *position) const {
67-
auto bp_id = BreakpointID::ParseCanonicalReference(bp_id_str);
68-
if (!bp_id)
69-
return false;
70-
71-
return FindBreakpointID(*bp_id, position);
72-
}
73-
7465
// This function takes OLD_ARGS, which is usually the result of breaking the
7566
// command string arguments into
7667
// an array of space-separated strings, and searches through the arguments for

0 commit comments

Comments
 (0)