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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits