[Lldb-commits] [lldb] [lldb] Fix wchar addition tests in DIL (PR #184082)

via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 2 01:32:23 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Ilia Kuklin (kuilpd)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/184082.diff


1 Files Affected:

- (modified) lldb/test/API/commands/frame/var-dil/expr/Arithmetic/TestFrameVarDILArithmetic.py (+3-3) 


``````````diff
diff --git a/lldb/test/API/commands/frame/var-dil/expr/Arithmetic/TestFrameVarDILArithmetic.py b/lldb/test/API/commands/frame/var-dil/expr/Arithmetic/TestFrameVarDILArithmetic.py
index 5b68c493ba3a5..bfa040b8cfb7b 100644
--- a/lldb/test/API/commands/frame/var-dil/expr/Arithmetic/TestFrameVarDILArithmetic.py
+++ b/lldb/test/API/commands/frame/var-dil/expr/Arithmetic/TestFrameVarDILArithmetic.py
@@ -48,9 +48,9 @@ def test_arithmetic(self):
         # Check basic math and resulting types
         self.expect_var_path("1 + 2", value="3", type="int")
         self.expect_var_path("1 + true", value="2", type="int")
-        self.expect_var_path("1L + wchar", value="2", type="long")
-        self.expect_var_path("1L + char16", value="3", type="long")
-        self.expect_var_path("1LL + char32", value="4", type="long long")
+        self.expect_var_path("1UL + wchar", value="2", type="unsigned long")
+        self.expect_var_path("1UL + char16", value="3", type="unsigned long")
+        self.expect_var_path("1ULL + char32", value="4", type="unsigned long long")
         self.expect_var_path("1UL + 1L", value="2", type="unsigned long")
         self.expect_var_path("s + x", value="12", type="int")
         self.expect_var_path("s + l", value="15", type="long")

``````````

</details>


https://github.com/llvm/llvm-project/pull/184082


More information about the lldb-commits mailing list