[Lldb-commits] [lldb] [lldb] Additional pieces towards OpenBSD support (PR #74198)
via lldb-commits
lldb-commits at lists.llvm.org
Sat Dec 2 07:25:38 PST 2023
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 cbf7b52a65890ea72cb6319bfdf98d92dd9ddc81 3281024daed54f60cc091f1a801831a81b47ec7e -- lldb/source/Core/FormatEntity.cpp lldb/source/Host/common/SocketAddress.cpp lldb/source/Host/posix/DomainSocket.cpp lldb/source/Initialization/SystemInitializerCommon.cpp lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp lldb/test/API/api/multithreaded/common.h lldb/test/API/tools/lldb-server/thread-name/main.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/test/API/api/multithreaded/common.h b/lldb/test/API/api/multithreaded/common.h
index 2ef1cb7c56..e80023f3f4 100644
--- a/lldb/test/API/api/multithreaded/common.h
+++ b/lldb/test/API/api/multithreaded/common.h
@@ -60,7 +60,7 @@ public:
inline char* get_working_dir() {
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || \
defined(__OpenBSD__)
- return getwd(0);
+ return getwd(0);
#else
return get_current_dir_name();
#endif
``````````
</details>
https://github.com/llvm/llvm-project/pull/74198
More information about the lldb-commits
mailing list