[Lldb-commits] [lldb] r154600 - /lldb/trunk/include/lldb/Target/Process.h

Jim Ingham jingham at apple.com
Thu Apr 12 11:25:11 PDT 2012


Author: jingham
Date: Thu Apr 12 13:25:11 2012
New Revision: 154600

URL: http://llvm.org/viewvc/llvm-project?rev=154600&view=rev
Log:
Cleanup, keep private types separate from private member variables.

Modified:
    lldb/trunk/include/lldb/Target/Process.h

Modified: lldb/trunk/include/lldb/Target/Process.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/Process.h?rev=154600&r1=154599&r2=154600&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/Process.h (original)
+++ lldb/trunk/include/lldb/Target/Process.h Thu Apr 12 13:25:11 2012
@@ -3255,6 +3255,17 @@
     //------------------------------------------------------------------
     typedef std::map<lldb::LanguageType, lldb::LanguageRuntimeSP> LanguageRuntimeCollection;
 
+    struct PreResumeCallbackAndBaton
+    {
+        bool (*callback) (void *);
+        void *baton;
+        PreResumeCallbackAndBaton (PreResumeActionCallback in_callback, void *in_baton) :
+            callback (in_callback),
+            baton (in_baton)
+        {
+        }
+    };
+    
     //------------------------------------------------------------------
     // Member variables
     //------------------------------------------------------------------
@@ -3290,18 +3301,6 @@
     bool                        m_should_detach;   /// Should we detach if the process object goes away with an explicit call to Kill or Detach?
     LanguageRuntimeCollection 	m_language_runtimes;
     std::auto_ptr<NextEventAction> m_next_event_action_ap;
-    
-    struct PreResumeCallbackAndBaton
-    {
-        bool (*callback) (void *);
-        void *baton;
-        PreResumeCallbackAndBaton (PreResumeActionCallback in_callback, void *in_baton) :
-            callback (in_callback),
-            baton (in_baton)
-        {
-        }
-    };
-    
     std::vector<PreResumeCallbackAndBaton> m_pre_resume_actions;
     ReadWriteLock               m_run_lock;
 





More information about the lldb-commits mailing list