Skip to content

Commit 4a9ff1d

Browse files
cleanup
1 parent 21fe985 commit 4a9ff1d

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

lldb/source/Host/aix/Host.cpp

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,9 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "lldb/Host/Host.h"
10-
#include "lldb/Host/FileSystem.h"
11-
#include "lldb/Host/HostInfo.h"
12-
#include "lldb/Utility/LLDBLog.h"
13-
#include "lldb/Utility/Log.h"
1410
#include "lldb/Utility/ProcessInfo.h"
1511
#include "lldb/Utility/Status.h"
16-
#include "llvm/ADT/StringSwitch.h"
17-
#include "llvm/Object/ELF.h"
18-
#include "llvm/Support/ScopedPrinter.h"
19-
#include <cerrno>
20-
#include <cstdio>
21-
#include <cstring>
2212
#include <dirent.h>
23-
#include <fcntl.h>
24-
#include <sstream>
25-
#include <sys/stat.h>
26-
#include <sys/types.h>
27-
#include <sys/utsname.h>
28-
#include <unistd.h>
2913

3014
using namespace llvm;
3115
using namespace lldb;
@@ -102,9 +86,8 @@ uint32_t Host::FindProcessesImpl(const ProcessInstanceInfoMatch &match_info,
10286
if (!all_users && (our_uid != 0) && (process_info.GetUserID() != our_uid))
10387
continue;
10488

105-
if (match_info.Matches(process_info)) {
89+
if (match_info.Matches(process_info))
10690
process_infos.push_back(process_info);
107-
}
10891
}
10992

11093
closedir(dirproc);

0 commit comments

Comments
 (0)