Skip to content

Commit 6c98c5b

Browse files
authored
[lldb][NFCI] Remove unused method BreakpointIDList::AddBreakpointID(const char *) (#79189)
This overload is completely unused.
1 parent 9261ab7 commit 6c98c5b

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
@@ -42,8 +42,6 @@ class BreakpointIDList {
4242

4343
bool AddBreakpointID(BreakpointID bp_id);
4444

45-
bool AddBreakpointID(const char *bp_id);
46-
4745
// TODO: This should take a const BreakpointID.
4846
bool FindBreakpointID(BreakpointID &bp_id, size_t *position) const;
4947

lldb/source/Breakpoint/BreakpointIDList.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ bool BreakpointIDList::AddBreakpointID(BreakpointID bp_id) {
4848
// return true.
4949
}
5050

51-
bool BreakpointIDList::AddBreakpointID(const char *bp_id_str) {
52-
auto bp_id = BreakpointID::ParseCanonicalReference(bp_id_str);
53-
if (!bp_id)
54-
return false;
55-
56-
m_breakpoint_ids.push_back(*bp_id);
57-
return true;
58-
}
59-
6051
bool BreakpointIDList::FindBreakpointID(BreakpointID &bp_id,
6152
size_t *position) const {
6253
for (size_t i = 0; i < m_breakpoint_ids.size(); ++i) {

0 commit comments

Comments
 (0)