[libcxx-commits] [libcxx] [libc++] Make `__wrap_iter` comparison operators hidden friends (PR #179590)

Michael Buch via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 12 07:14:44 PST 2026


Michael137 wrote:

```
diff --git i/lldb/test/API/commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py w/lldb/test/API/commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py
index 370c3674faec..f0b3b5445cf6 100644
--- i/lldb/test/API/commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py
+++ w/lldb/test/API/commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py
@@ -27,6 +27,18 @@ class TestCase(TestBase):
 
         self.expect_expr("move_begin + 3 == move_end", result_value="true")
 
+    @add_test_categories(["libc++"])
+    @skipIf(compiler=no_match("clang"))
+    @expectedFailureAll(bugnumber="https://github.com/llvm/llvm-project/issues/149477")
+    def test_xfail(self):
+        self.build()
+
+        lldbutil.run_to_source_breakpoint(
+            self, "// Set break point at this line.", lldb.SBFileSpec("main.cpp")
+        )
+
+        self.runCmd("settings set target.import-std-module true")
+
         self.expect("expr move_begin++")
         self.expect_expr("move_begin + 2 == move_end", result_value="true")
         self.expect("expr move_begin--")
```

Tested this locally and can confirm it does the right thing

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


More information about the libcxx-commits mailing list