github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. 
:warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff b1f263e4c2466a693609a3930f53b9887be67b5b 
6e24f75be4c779ed336a3894ac5312b0fc0e845c --extensions cpp -- 
lldb/source/Host/posix/ProcessLauncherPosixFork.cpp 
lldb/source/Host/windows/ProcessLauncherWindows.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Host/windows/ProcessLauncherWindows.cpp 
b/lldb/source/Host/windows/ProcessLauncherWindows.cpp
index 143f20cb3f..ee5f8fda1d 100644
--- a/lldb/source/Host/windows/ProcessLauncherWindows.cpp
+++ b/lldb/source/Host/windows/ProcessLauncherWindows.cpp
@@ -122,9 +122,9 @@ ProcessLauncherWindows::LaunchProcess(const 
ProcessLaunchInfo &launch_info,
   // for some time after copying.
   for (int i = 0; i < 50; ++i) {
     result = ::CreateProcessW(
-      wexecutable.c_str(), pwcommandLine, NULL, NULL, TRUE, flags, env_block,
-      wworkingDirectory.size() == 0 ? NULL : wworkingDirectory.c_str(),
-      &startupinfo, &pi);
+        wexecutable.c_str(), pwcommandLine, NULL, NULL, TRUE, flags, env_block,
+        wworkingDirectory.size() == 0 ? NULL : wworkingDirectory.c_str(),
+        &startupinfo, &pi);
     if (!result) {
       last_error = ::GetLastError();
       if (last_error != ERROR_SHARING_VIOLATION)

``````````

</details>


https://github.com/llvm/llvm-project/pull/100659
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to