summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi/MICmdCommands.cpp
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-08-04 10:24:20 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-08-04 10:24:20 +0000
commite2453afff64b3edd3cbfac494fad2140924b9a65 (patch)
tree0d85e277dfd2534288f696f5048207727372f60c /lldb/tools/lldb-mi/MICmdCommands.cpp
parent8d3bfd0fa1f53c03bc0d0623b5be08171164b7c2 (diff)
downloadbcm5719-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/MICmdCommands.cpp')
-rw-r--r--lldb/tools/lldb-mi/MICmdCommands.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/tools/lldb-mi/MICmdCommands.cpp b/lldb/tools/lldb-mi/MICmdCommands.cpp
index 90a5d651f2a..e97cc72f077 100644
--- a/lldb/tools/lldb-mi/MICmdCommands.cpp
+++ b/lldb/tools/lldb-mi/MICmdCommands.cpp
@@ -41,7 +41,7 @@
namespace MICmnCommands
{
-template <typename T> static bool Register(void);
+template <typename T> static bool Register();
}
//++ ------------------------------------------------------------------------------------
@@ -53,7 +53,7 @@ template <typename T> static bool Register(void);
//--
template <typename T>
static bool
-MICmnCommands::Register(void)
+MICmnCommands::Register()
{
static CMICmdFactory &rCmdFactory = CMICmdFactory::Instance();
const CMIUtilString strMiCmd = T().GetMiCmd();
@@ -70,7 +70,7 @@ MICmnCommands::Register(void)
// Throws: None.
//--
bool
-MICmnCommands::RegisterAll(void)
+MICmnCommands::RegisterAll()
{
bool bOk = MIstatus::success;
OpenPOWER on IntegriCloud