diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-08-04 10:24:20 +0000 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-08-04 10:24:20 +0000 |
| commit | e2453afff64b3edd3cbfac494fad2140924b9a65 (patch) | |
| tree | 0d85e277dfd2534288f696f5048207727372f60c /lldb/tools/lldb-mi/MICmdCmdFile.cpp | |
| parent | 8d3bfd0fa1f53c03bc0d0623b5be08171164b7c2 (diff) | |
| download | bcm5719-llvm-e2453afff64b3edd3cbfac494fad2140924b9a65.tar.gz bcm5719-llvm-e2453afff64b3edd3cbfac494fad2140924b9a65.zip | |
[lldb-mi] Use empty arg lists instead of (void).
Summary: This brings the code more in line with the usual LLDB style. NFC.
Reviewers: abidh, ki.stfu
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D11746
llvm-svn: 243967
Diffstat (limited to 'lldb/tools/lldb-mi/MICmdCmdFile.cpp')
| -rw-r--r-- | lldb/tools/lldb-mi/MICmdCmdFile.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lldb/tools/lldb-mi/MICmdCmdFile.cpp b/lldb/tools/lldb-mi/MICmdCmdFile.cpp index 40d48017b3f..77ca660b9dd 100644 --- a/lldb/tools/lldb-mi/MICmdCmdFile.cpp +++ b/lldb/tools/lldb-mi/MICmdCmdFile.cpp @@ -30,7 +30,7 @@ // Return: None. // Throws: None. //-- -CMICmdCmdFileExecAndSymbols::CMICmdCmdFileExecAndSymbols(void) +CMICmdCmdFileExecAndSymbols::CMICmdCmdFileExecAndSymbols() : m_constStrArgNameFile("file") , m_constStrArgThreadGrp("thread-group") , m_constStrArgNamedPlatformName("p") @@ -50,7 +50,7 @@ CMICmdCmdFileExecAndSymbols::CMICmdCmdFileExecAndSymbols(void) // Return: None. // Throws: None. //-- -CMICmdCmdFileExecAndSymbols::~CMICmdCmdFileExecAndSymbols(void) +CMICmdCmdFileExecAndSymbols::~CMICmdCmdFileExecAndSymbols() { } @@ -64,7 +64,7 @@ CMICmdCmdFileExecAndSymbols::~CMICmdCmdFileExecAndSymbols(void) // Throws: None. //-- bool -CMICmdCmdFileExecAndSymbols::ParseArgs(void) +CMICmdCmdFileExecAndSymbols::ParseArgs() { m_setCmdArgs.Add( *(new CMICmdArgValOptionLong(m_constStrArgThreadGrp, false, false, CMICmdArgValListBase::eArgValType_ThreadGrp, 1))); @@ -88,7 +88,7 @@ CMICmdCmdFileExecAndSymbols::ParseArgs(void) // Throws: None. //-- bool -CMICmdCmdFileExecAndSymbols::Execute(void) +CMICmdCmdFileExecAndSymbols::Execute() { CMICMDBASE_GETOPTION(pArgNamedFile, File, m_constStrArgNameFile); CMICMDBASE_GETOPTION(pArgPlatformName, OptionShort, m_constStrArgNamedPlatformName); @@ -166,7 +166,7 @@ CMICmdCmdFileExecAndSymbols::Execute(void) // Throws: None. //-- bool -CMICmdCmdFileExecAndSymbols::Acknowledge(void) +CMICmdCmdFileExecAndSymbols::Acknowledge() { const CMICmnMIResultRecord miRecordResult(m_cmdData.strMiCmdToken, CMICmnMIResultRecord::eResultClass_Done); m_miResultRecord = miRecordResult; @@ -183,7 +183,7 @@ CMICmdCmdFileExecAndSymbols::Acknowledge(void) // Throws: None. //-- CMICmdBase * -CMICmdCmdFileExecAndSymbols::CreateSelf(void) +CMICmdCmdFileExecAndSymbols::CreateSelf() { return new CMICmdCmdFileExecAndSymbols(); } @@ -200,7 +200,7 @@ CMICmdCmdFileExecAndSymbols::CreateSelf(void) // Throws: None. //-- bool -CMICmdCmdFileExecAndSymbols::GetExitAppOnCommandFailure(void) const +CMICmdCmdFileExecAndSymbols::GetExitAppOnCommandFailure() const { return true; } |

