diff options
Diffstat (limited to 'include/lldb/API/SBHostOS.h')
-rw-r--r-- | include/lldb/API/SBHostOS.h | 44 |
1 files changed, 13 insertions, 31 deletions
diff --git a/include/lldb/API/SBHostOS.h b/include/lldb/API/SBHostOS.h index a3675856a136..1671917f865c 100644 --- a/include/lldb/API/SBHostOS.h +++ b/include/lldb/API/SBHostOS.h @@ -15,49 +15,31 @@ namespace lldb { -class LLDB_API SBHostOS -{ +class LLDB_API SBHostOS { public: + static lldb::SBFileSpec GetProgramFileSpec(); - static lldb::SBFileSpec - GetProgramFileSpec (); - - static lldb::SBFileSpec - GetLLDBPythonPath (); + static lldb::SBFileSpec GetLLDBPythonPath(); - static lldb::SBFileSpec - GetLLDBPath (lldb::PathType path_type); + static lldb::SBFileSpec GetLLDBPath(lldb::PathType path_type); - static lldb::SBFileSpec - GetUserHomeDirectory (); + static lldb::SBFileSpec GetUserHomeDirectory(); - static void - ThreadCreated (const char *name); + static void ThreadCreated(const char *name); - static lldb::thread_t - ThreadCreate (const char *name, - lldb::thread_func_t thread_function, - void *thread_arg, - lldb::SBError *err); + static lldb::thread_t ThreadCreate(const char *name, + lldb::thread_func_t thread_function, + void *thread_arg, lldb::SBError *err); - static bool - ThreadCancel (lldb::thread_t thread, - lldb::SBError *err); - - static bool - ThreadDetach (lldb::thread_t thread, - lldb::SBError *err); - static bool - ThreadJoin (lldb::thread_t thread, - lldb::thread_result_t *result, - lldb::SBError *err); + static bool ThreadCancel(lldb::thread_t thread, lldb::SBError *err); + static bool ThreadDetach(lldb::thread_t thread, lldb::SBError *err); + static bool ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result, + lldb::SBError *err); private: - }; - } // namespace lldb #endif // LLDB_SBHostOS_h_ |