[Lldb-commits] [lldb] [lldb][DataFormatter] Format libstdc++ unique_ptr like we do libc++ (PR #146909)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 3 07:47:34 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r HEAD~1...HEAD lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestDataFormatterStdUniquePtr.py 2025-07-03 15:32:07.000000 +0000
+++ TestDataFormatterStdUniquePtr.py 2025-07-03 14:47:09.750957 +0000
@@ -37,11 +37,12 @@
self.expect("frame variable ndp", substrs=["ndp = nullptr"])
self.expect(
"frame variable idp", substrs=["idp = 456", "deleter = ", "a = 1", "b = 2"]
)
self.expect(
- "frame variable sdp", substrs=['sdp = "baz"', "deleter = ", "a = 3", "b = 4"]
+ "frame variable sdp",
+ substrs=['sdp = "baz"', "deleter = ", "a = 3", "b = 4"],
)
self.assertEqual(
123, frame.GetValueForVariablePath("iup.object").GetValueAsUnsigned()
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/146909
More information about the lldb-commits
mailing list