[Lldb-commits] [lldb] [lldb] Android 9 has added the spawn.h header (PR #124452)

via lldb-commits lldb-commits at lists.llvm.org
Sat Jan 25 23:33:36 PST 2025


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 753028bc81c1a556eaaaf45ac77ca0cf4c7a3b4a 2f773af320b8a32f0082a35392076d5a0d72e0b0 --extensions cpp -- lldb/source/Host/common/Host.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index eaba999562..035304f52c 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -27,7 +27,7 @@
 #endif
 
 #ifdef __ANDROID__
-include <android/api-level.h>
+include<android / api - level.h>
 #endif
 
 #if defined(__linux__) || defined(__FreeBSD__) ||                              \
@@ -83,7 +83,7 @@ include <android/api-level.h>
 #define _POSIX_SPAWN_DISABLE_ASLR 0x0100
 #endif
 
-extern "C" {
+    extern "C" {
 int __pthread_chdir(const char *path);
 int __pthread_fchdir(int fildes);
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/124452


More information about the lldb-commits mailing list