[Lldb-commits] [lldb] [lldb][test] Add FindGlobalVariables tests for C++ inline static data members (PR #70641)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 30 03:12:17 PDT 2023
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 a902ca66428164b4f11dedf1c551393add511271..7de2335efd85ae6058705a6a6cd9c5b160aef757 lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestConstStaticIntegralMember.py 2023-10-29 10:33:43.000000 +0000
+++ TestConstStaticIntegralMember.py 2023-10-30 10:12:10.442530 +0000
@@ -140,11 +140,13 @@
self.check_global_var("ClassWithOnlyConstStatic::member", "const int", "3")
self.check_global_var("ClassWithConstexprs::member", "const int", "2")
self.check_global_var("ClassWithConstexprs::enum_val", "Enum", "enum_case2")
- self.check_global_var("ClassWithConstexprs::scoped_enum_val", "ScopedEnum", "scoped_enum_case2")
+ self.check_global_var(
+ "ClassWithConstexprs::scoped_enum_val", "ScopedEnum", "scoped_enum_case2"
+ )
# With older versions of Clang, LLDB fails to evaluate classes with only
# constexpr members when dsymutil is enabled
@expectedFailureAll(
debug_info=["dsym"], compiler=["clang"], compiler_version=["<", "14.0"]
``````````
</details>
https://github.com/llvm/llvm-project/pull/70641
More information about the lldb-commits
mailing list