summaryrefslogtreecommitdiff
path: root/include/lldb/Host/Socket.h
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2018-08-30 17:51:10 +0000
committerRaphael Isemann <teemperor@gmail.com>2018-08-30 17:51:10 +0000
commit71423a6d9455f6db94a40c8645a51653c327cb34 (patch)
treee3ec6431b6c484e8644dc14376f4c1817020a78b /include/lldb/Host/Socket.h
parentbdc04890f6cfd47de910e82cdb8789c179e8f5cd (diff)
Move Predicate.h from Host to Utility
Summary: This class was initially in Host because its implementation used to be very OS-specific. However, with C++11, it has become a very simple std::condition_variable wrapper, with no host-specific code. It is also a general purpose utility class, so it makes sense for it to live in a place where it can be used by everyone. This has no effect on the layering right now, but it enables me to later move the Listener+Broadcaster+Event combo to a lower layer, which is important, as these are used in a lot of places (notably for launching a process in Host code). Reviewers: jingham, zturner, teemperor Reviewed By: zturner Subscribers: xiaobai, mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D50384 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@341089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/lldb/Host/Socket.h')
-rw-r--r--include/lldb/Host/Socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lldb/Host/Socket.h b/include/lldb/Host/Socket.h
index f6e51fd45..8b7f9fa4e 100644
--- a/include/lldb/Host/Socket.h
+++ b/include/lldb/Host/Socket.h
@@ -15,9 +15,9 @@
#include "lldb/lldb-private.h"
-#include "lldb/Host/Predicate.h"
#include "lldb/Host/SocketAddress.h"
#include "lldb/Utility/IOObject.h"
+#include "lldb/Utility/Predicate.h"
#include "lldb/Utility/Status.h"
#ifdef _WIN32