diff options
Diffstat (limited to 'lldb/source/Host/macosx/ThisThread.cpp')
-rw-r--r-- | lldb/source/Host/macosx/ThisThread.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/lldb/source/Host/macosx/ThisThread.cpp b/lldb/source/Host/macosx/ThisThread.cpp index 6f1c88f6730..5244ba01412 100644 --- a/lldb/source/Host/macosx/ThisThread.cpp +++ b/lldb/source/Host/macosx/ThisThread.cpp @@ -9,21 +9,17 @@ #include "lldb/Host/ThisThread.h" -#include <pthread.h> #include "llvm/ADT/SmallVector.h" +#include <pthread.h> using namespace lldb_private; -void -ThisThread::SetName(llvm::StringRef name) -{ -#if defined (__APPLE__) - ::pthread_setname_np(name.str().c_str()); +void ThisThread::SetName(llvm::StringRef name) { +#if defined(__APPLE__) + ::pthread_setname_np(name.str().c_str()); #endif } -void -ThisThread::GetName(llvm::SmallVectorImpl<char> &name) -{ - // FIXME - implement this. +void ThisThread::GetName(llvm::SmallVectorImpl<char> &name) { + // FIXME - implement this. } |