[Lldb-commits] [lldb] r163977 - in /lldb/branches/windows: include/lldb/API/SBCommandInterpreter.h source/API/SBCommandInterpreter.cpp
Carlo Kok
ck at remobjects.com
Sat Sep 15 11:19:14 PDT 2012
Author: carlokok
Date: Sat Sep 15 13:19:14 2012
New Revision: 163977
URL: http://llvm.org/viewvc/llvm-project?rev=163977&view=rev
Log:
SBCommandInterpreter doesn't have a public default constructor making it hard to use from c++
Modified:
lldb/branches/windows/include/lldb/API/SBCommandInterpreter.h
lldb/branches/windows/source/API/SBCommandInterpreter.cpp
Modified: lldb/branches/windows/include/lldb/API/SBCommandInterpreter.h
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/windows/include/lldb/API/SBCommandInterpreter.h?rev=163977&r1=163976&r2=163977&view=diff
==============================================================================
--- lldb/branches/windows/include/lldb/API/SBCommandInterpreter.h (original)
+++ lldb/branches/windows/include/lldb/API/SBCommandInterpreter.h Sat Sep 15 13:19:14 2012
@@ -26,6 +26,8 @@
eBroadcastBitAsynchronousErrorData = (1 << 4)
};
+ SBCommandInterpreter ();
+
SBCommandInterpreter (const lldb::SBCommandInterpreter &rhs);
const lldb::SBCommandInterpreter &
@@ -112,7 +114,7 @@
private:
friend class SBDebugger;
- SBCommandInterpreter (lldb_private::CommandInterpreter *interpreter_ptr = NULL); // Access using SBDebugger::GetCommandInterpreter();
+ SBCommandInterpreter (lldb_private::CommandInterpreter *interpreter_ptr); // Access using SBDebugger::GetCommandInterpreter();
static void
InitializeSWIG ();
Modified: lldb/branches/windows/source/API/SBCommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/windows/source/API/SBCommandInterpreter.cpp?rev=163977&r1=163976&r2=163977&view=diff
==============================================================================
--- lldb/branches/windows/source/API/SBCommandInterpreter.cpp (original)
+++ lldb/branches/windows/source/API/SBCommandInterpreter.cpp Sat Sep 15 13:19:14 2012
@@ -29,6 +29,10 @@
using namespace lldb_private;
+SBCommandInterpreter::SBCommandInterpreter()
+{
+}
+
SBCommandInterpreter::SBCommandInterpreter (CommandInterpreter *interpreter) :
m_opaque_ptr (interpreter)
{
More information about the lldb-commits
mailing list