Skip to content

Commit 2e12fc3

Browse files
committed
[lldb][NFCI] Remove unused constructors from BreakpointName
There is only one constructor in use so the rest can be removed.
1 parent 151d0a4 commit 2e12fc3

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

lldb/include/lldb/Breakpoint/BreakpointName.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -141,23 +141,11 @@ class BreakpointName {
141141
{
142142
SetHelp(help);
143143
}
144-
145-
BreakpointName(ConstString name,
146-
BreakpointOptions &options,
147-
const Permissions &permissions = Permissions(),
148-
const char *help = nullptr) :
149-
m_name(name), m_options(options),
150-
m_permissions(permissions) {
151-
SetHelp(help);
152-
};
153144

154145
BreakpointName(const BreakpointName &rhs) :
155146
m_name(rhs.m_name), m_options(rhs.m_options),
156147
m_permissions(rhs.m_permissions), m_help(rhs.m_help)
157148
{}
158-
159-
BreakpointName(ConstString name, const Breakpoint &bkpt,
160-
const char *help);
161149

162150
ConstString GetName() const { return m_name; }
163151
BreakpointOptions &GetOptions() { return m_options; }

lldb/source/Breakpoint/BreakpointName.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ const Flags::ValueType BreakpointName::Permissions::permissions_mask
2828
(0x5u)
2929
};
3030

31-
BreakpointName::BreakpointName(ConstString name, const Breakpoint &bkpt,
32-
const char *help) :
33-
m_name(name), m_options(bkpt.GetOptions())
34-
{
35-
SetHelp(help);
36-
}
37-
3831
bool BreakpointName::Permissions::GetDescription(Stream *s,
3932
lldb::DescriptionLevel level) {
4033
if (!AnySet())

0 commit comments

Comments
 (0)