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/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
lldb/unittests/Expression/DWARFExpressionTest.cpp --diff_from_common_commit
``````````
: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/Expression/DWARFExpressionTest.cpp
b/lldb/unittests/Expression/DWARFExpressionTest.cpp
index 2b760c3b6..00fa9c876 100644
--- a/lldb/unittests/Expression/DWARFExpressionTest.cpp
+++ b/lldb/unittests/Expression/DWARFExpressionTest.cpp
@@ -587,9 +587,10 @@ DWARF:
ExpectScalar(8, 'A', is_signed));
// Prefer DW_AT_bit_size over DW_AT_byte_size when both are present.
- EXPECT_THAT_EXPECTED(t.Eval({DW_OP_const4u, 0x00, 0x00, 0x00, 0x40,
- DW_OP_convert, offs_sint31_t,
DW_OP_stack_value}),
- ExpectScalar(31, 0x40000000, is_signed));
+ EXPECT_THAT_EXPECTED(
+ t.Eval({DW_OP_const4u, 0x00, 0x00, 0x00, 0x40, DW_OP_convert,
+ offs_sint31_t, DW_OP_stack_value}),
+ ExpectScalar(31, 0x40000000, is_signed));
//
// Errors.
``````````
</details>
https://github.com/llvm/llvm-project/pull/208435
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits