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 1b4a173fa41e02eddec9f1cf41324aa4ea8a7fa5 
eac4e0b05f6c55dc9621edb3c2ba6b07876b3efb --extensions cpp -- 
lldb/source/Host/common/FileAction.cpp lldb/unittests/Host/FileActionTest.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/unittests/Host/FileActionTest.cpp 
b/lldb/unittests/Host/FileActionTest.cpp
index 8c8b81a925..3d2c722552 100644
--- a/lldb/unittests/Host/FileActionTest.cpp
+++ b/lldb/unittests/Host/FileActionTest.cpp
@@ -38,6 +38,7 @@ TEST(FileActionTest, OpenReadOnly) {
 TEST(FileActionTest, OpenWriteOnly) {
   FileAction Action;
   Action.Open(50, FileSpec("/tmp_2"), /*read*/ false, /*write*/ true);
-  EXPECT_TRUE(Action.GetActionArgument() & (O_NOCTTY | O_CREAT | O_WRONLY | 
O_TRUNC));
+  EXPECT_TRUE(Action.GetActionArgument() &
+              (O_NOCTTY | O_CREAT | O_WRONLY | O_TRUNC));
   EXPECT_FALSE(Action.GetActionArgument() & O_RDONLY);
-} 
+}

``````````

</details>


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

Reply via email to