summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/Connection.cpp')
-rw-r--r--lldb/source/Core/Connection.cpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/lldb/source/Core/Connection.cpp b/lldb/source/Core/Connection.cpp
index 3f740a1ed82..1ae046b8a01 100644
--- a/lldb/source/Core/Connection.cpp
+++ b/lldb/source/Core/Connection.cpp
@@ -21,20 +21,14 @@
using namespace lldb_private;
-Connection::Connection ()
-{
-}
+Connection::Connection() {}
-Connection::~Connection ()
-{
-}
+Connection::~Connection() {}
-Connection *
-Connection::CreateDefaultConnection(const char *url)
-{
+Connection *Connection::CreateDefaultConnection(const char *url) {
#if defined(_WIN32)
- if (strstr(url, "file://") == url)
- return new ConnectionGenericFile();
+ if (strstr(url, "file://") == url)
+ return new ConnectionGenericFile();
#endif
- return new ConnectionFileDescriptor();
+ return new ConnectionFileDescriptor();
}
OpenPOWER on IntegriCloud