Skip to content

Commit ea1ed2b

Browse files
committed
Apply clang-format again.
1 parent 65430e3 commit ea1ed2b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lldb/source/Host/windows/MainLoopWindows.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ namespace {
3939
class PipeEvent : public MainLoopWindows::IOEvent {
4040
public:
4141
explicit PipeEvent(HANDLE handle)
42-
: IOEvent((IOObject::WaitableHandle)CreateEventW(
43-
NULL, /*bManualReset=*/FALSE,
44-
/*bInitialState=*/FALSE, NULL)),
42+
: IOEvent((IOObject::WaitableHandle)CreateEventW(
43+
NULL, /*bManualReset=*/FALSE,
44+
/*bInitialState=*/FALSE, NULL)),
4545
m_handle(handle), m_ready(CreateEventW(NULL, /*bManualReset=*/FALSE,
4646
/*bInitialState=*/FALSE, NULL)) {
4747
assert(event && ready);
@@ -131,7 +131,7 @@ class SocketEvent : public MainLoopWindows::IOEvent {
131131
~SocketEvent() override { WSACloseEvent((HANDLE)m_event); }
132132

133133
void WillPoll() {
134-
int result = WSAEventSelect(m_socket, (HANDLE)m_event,
134+
int result = WSAEventSelect(m_socket, (HANDLE)m_event,
135135
FD_READ | FD_ACCEPT | FD_CLOSE);
136136
assert(result == 0);
137137
UNUSED_IF_ASSERT_DISABLED(result);

lldb/unittests/Host/MainLoopTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ TEST_F(MainLoopTest, ReadObject) {
8282
TEST_F(MainLoopTest, ReadPipeObject) {
8383
Pipe pipe;
8484

85-
ASSERT_TRUE(pipe.CreateNew(false).Success());
85+
ASSERT_TRUE(pipe.CreateNew().Success());
8686

8787
MainLoop loop;
8888

@@ -104,7 +104,7 @@ TEST_F(MainLoopTest, ReadPipeObject) {
104104
TEST_F(MainLoopTest, NoSpuriousPipeReads) {
105105
Pipe pipe;
106106

107-
ASSERT_TRUE(pipe.CreateNew(false).Success());
107+
ASSERT_TRUE(pipe.CreateNew().Success());
108108

109109
char X = 'X';
110110
size_t len = sizeof(X);

0 commit comments

Comments
 (0)