summaryrefslogtreecommitdiff
path: root/source/Host/macosx/ThisThread.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
commit14f1b3e8826ce43b978db93a62d1166055db5394 (patch)
tree0a00ad8d3498783fe0193f3b656bca17c4c8697d /source/Host/macosx/ThisThread.cpp
parent4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff)
Notes
Diffstat (limited to 'source/Host/macosx/ThisThread.cpp')
-rw-r--r--source/Host/macosx/ThisThread.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/source/Host/macosx/ThisThread.cpp b/source/Host/macosx/ThisThread.cpp
index 6f1c88f67309f..5244ba0141210 100644
--- a/source/Host/macosx/ThisThread.cpp
+++ b/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.
}