aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Host/common/PipeBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/common/PipeBase.cpp')
-rw-r--r--lldb/source/Host/common/PipeBase.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/lldb/source/Host/common/PipeBase.cpp b/lldb/source/Host/common/PipeBase.cpp
index a9d6e6f..cf7e6c9 100644
--- a/lldb/source/Host/common/PipeBase.cpp
+++ b/lldb/source/Host/common/PipeBase.cpp
@@ -11,17 +11,14 @@
using namespace lldb_private;
-
PipeBase::~PipeBase() = default;
-Error
-PipeBase::OpenAsWriter(llvm::StringRef name, bool child_process_inherit)
-{
- return OpenAsWriterWithTimeout(name, child_process_inherit, std::chrono::microseconds::zero());
+Error PipeBase::OpenAsWriter(llvm::StringRef name, bool child_process_inherit) {
+ return OpenAsWriterWithTimeout(name, child_process_inherit,
+ std::chrono::microseconds::zero());
}
-Error
-PipeBase::Read(void *buf, size_t size, size_t &bytes_read)
-{
- return ReadWithTimeout(buf, size, std::chrono::microseconds::zero(), bytes_read);
+Error PipeBase::Read(void *buf, size_t size, size_t &bytes_read) {
+ return ReadWithTimeout(buf, size, std::chrono::microseconds::zero(),
+ bytes_read);
}