[Lldb-commits] [lldb] [lldb][test] Disable a procfile test when threading is not enabled (PR #159559)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 18 04:55:57 PDT 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 origin/main HEAD --extensions cpp -- lldb/unittests/Host/posix/SupportTest.cpp
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/unittests/Host/posix/SupportTest.cpp b/lldb/unittests/Host/posix/SupportTest.cpp
index 1b11f0caa..ed2ff2082 100644
--- a/lldb/unittests/Host/posix/SupportTest.cpp
+++ b/lldb/unittests/Host/posix/SupportTest.cpp
@@ -38,4 +38,5 @@ TEST(Support, getProcFile_Tid) {
ASSERT_TRUE(BufferOrError);
ASSERT_TRUE(*BufferOrError);
}
-#endif // #if (defined(_AIX) || defined(__linux__)) && defined(LLVM_ENABLE_THREADING)
+#endif // #if (defined(_AIX) || defined(__linux__)) &&
+ // defined(LLVM_ENABLE_THREADING)
``````````
</details>
https://github.com/llvm/llvm-project/pull/159559
More information about the lldb-commits
mailing list