[Lldb-commits] [lldb] r111377 - /lldb/trunk/include/lldb/API/SBDebugger.h

Greg Clayton gclayton at apple.com
Wed Aug 18 11:25:20 PDT 2010


Author: gclayton
Date: Wed Aug 18 13:25:20 2010
New Revision: 111377

URL: http://llvm.org/viewvc/llvm-project?rev=111377&view=rev
Log:
Allow the SBDebugger to construct itself with the default constructor so
objects can own one of these objects and assign a valid value at a later point.


Modified:
    lldb/trunk/include/lldb/API/SBDebugger.h

Modified: lldb/trunk/include/lldb/API/SBDebugger.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBDebugger.h?rev=111377&r1=111376&r2=111377&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBDebugger.h (original)
+++ lldb/trunk/include/lldb/API/SBDebugger.h Wed Aug 18 13:25:20 2010
@@ -28,6 +28,8 @@
     static SBDebugger
     Create();
 
+    SBDebugger();
+
     ~SBDebugger();
 
     bool
@@ -137,9 +139,6 @@
 
 private:
 
-    // Use the static function: SBDebugger::Create();
-    SBDebugger();
-
 #ifndef SWIG
 
     friend class SBInputReader;





More information about the lldb-commits mailing list