[lldb][NFCI] Remove unused constructors from BreakpointName

There is only one constructor in use so the rest can be removed.
This commit is contained in:
Alex Langford 2023-09-27 12:27:27 -07:00
parent 151d0a4db3
commit 2e12fc3d04
2 changed files with 0 additions and 19 deletions

View File

@ -141,23 +141,11 @@ public:
{
SetHelp(help);
}
BreakpointName(ConstString name,
BreakpointOptions &options,
const Permissions &permissions = Permissions(),
const char *help = nullptr) :
m_name(name), m_options(options),
m_permissions(permissions) {
SetHelp(help);
};
BreakpointName(const BreakpointName &rhs) :
m_name(rhs.m_name), m_options(rhs.m_options),
m_permissions(rhs.m_permissions), m_help(rhs.m_help)
{}
BreakpointName(ConstString name, const Breakpoint &bkpt,
const char *help);
ConstString GetName() const { return m_name; }
BreakpointOptions &GetOptions() { return m_options; }

View File

@ -28,13 +28,6 @@ const Flags::ValueType BreakpointName::Permissions::permissions_mask
(0x5u)
};
BreakpointName::BreakpointName(ConstString name, const Breakpoint &bkpt,
const char *help) :
m_name(name), m_options(bkpt.GetOptions())
{
SetHelp(help);
}
bool BreakpointName::Permissions::GetDescription(Stream *s,
lldb::DescriptionLevel level) {
if (!AnySet())