Skip to content

Commit deea04d

Browse files
committed
changes as per the clang-format
1 parent 3ea41b0 commit deea04d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lldb/source/Host/aix/Host.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <fcntl.h>
10-
#include <sstream>
11-
#include <sys/procfs.h>
129
#include "lldb/Host/Host.h"
1310
#include "lldb/Host/linux/Support.h"
1411
#include "lldb/Utility/LLDBLog.h"
1512
#include "lldb/Utility/Log.h"
1613
#include "lldb/Utility/ProcessInfo.h"
1714
#include "lldb/Utility/Status.h"
1815
#include "llvm/BinaryFormat/XCOFF.h"
16+
#include <fcntl.h>
17+
#include <sstream>
18+
#include <sys/procfs.h>
1919

2020
using namespace llvm;
2121
using namespace lldb;
@@ -101,12 +101,12 @@ static bool GetExePathAndArch(::pid_t pid, ProcessInstanceInfo &process_info) {
101101
auto BufferOrError = getProcFile(pid, "psinfo");
102102
if (!BufferOrError)
103103
return false;
104-
104+
105105
std::unique_ptr<llvm::MemoryBuffer> PsinfoBuffer = std::move(*BufferOrError);
106106
// Ensure there's enough data for psinfoData
107-
if(PsinfoBuffer->getBufferSize() < sizeof(psinfoData))
107+
if (PsinfoBuffer->getBufferSize() < sizeof(psinfoData))
108108
return false;
109-
109+
110110
std::memcpy(&psinfoData, PsinfoBuffer->getBufferStart(), sizeof(psinfoData));
111111
llvm::StringRef PathRef(&(psinfoData.pr_psargs[0]));
112112
if (!PathRef.empty()) {
@@ -128,7 +128,7 @@ static bool GetProcessAndStatInfo(::pid_t pid,
128128
process_info.Clear();
129129
process_info.SetProcessID(pid);
130130

131-
if(!GetExePathAndArch(pid, process_info))
131+
if (!GetExePathAndArch(pid, process_info))
132132
return false;
133133
// Get User and Group IDs and get tracer pid.
134134
if (!GetStatusInfo(pid, process_info, State, tracerpid, tgid))

0 commit comments

Comments
 (0)