[Lldb-commits] [lldb] [lldb][TypeSystemClang] Allow transparent lookup through anonymous namespaces (PR #97275)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 1 03:13:04 PDT 2024
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 b0f20f214ab43c800130e0d249e8ee2459b906ea...f6c801efec331a832f2f10386be9cc14c8bb9565 lldb/test/API/lang/cpp/namespace/TestNamespace.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestNamespace.py 2024-07-01 10:08:52.000000 +0000
+++ TestNamespace.py 2024-07-01 10:12:31.810901 +0000
@@ -253,8 +253,16 @@
self.expect_expr(
"((::B::Bar*)&::B::bar)->x()", result_type="int", result_value="42"
)
self.expect_expr("InAnon1::var_in_anon", result_type="int", result_value="10")
- self.expect_expr("InAnon1::InAnon2::var_in_anon", result_type="int", result_value="5")
- self.expect_expr("InAnon1::inline_ns::var_in_anon", result_type="int", result_value="15")
- self.expect_expr("InAnon1::inline_ns::InAnon2::var_in_anon", result_type="int", result_value="5")
+ self.expect_expr(
+ "InAnon1::InAnon2::var_in_anon", result_type="int", result_value="5"
+ )
+ self.expect_expr(
+ "InAnon1::inline_ns::var_in_anon", result_type="int", result_value="15"
+ )
+ self.expect_expr(
+ "InAnon1::inline_ns::InAnon2::var_in_anon",
+ result_type="int",
+ result_value="5",
+ )
``````````
</details>
https://github.com/llvm/llvm-project/pull/97275
More information about the lldb-commits
mailing list