mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-18 16:58:23 +00:00
[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:
parent
151d0a4db3
commit
2e12fc3d04
@ -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; }
|
||||
|
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user