[libcxx-commits] [libcxx] [libc++] LWG 3987 provide iterator.range access from flat_{map, set} (PR #137524)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 4 10:15:16 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 libcxx/test/std/iterator_range_operations.gen.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- iterator_range_operations.gen.py	2025-05-04 17:12:49.000000 +0000
+++ iterator_range_operations.gen.py	2025-05-04 17:14:49.916380 +0000
@@ -22,12 +22,32 @@
     lit_header_restrictions,
     lit_header_undeprecations,
     Header,
 )
 
-headers = list(map(Header,["array", "deque", "flat_map", "flat_set", "forward_list", "list", "map", 
-           "regex", "set", "span", "string", "string_view", "unordered_map", "unordered_set", "vector"]))
+headers = list(
+    map(
+        Header,
+        [
+            "array",
+            "deque",
+            "flat_map",
+            "flat_set",
+            "forward_list",
+            "list",
+            "map",
+            "regex",
+            "set",
+            "span",
+            "string",
+            "string_view",
+            "unordered_map",
+            "unordered_set",
+            "vector",
+        ],
+    )
+)
 
 for header in headers:
     print(
         f"""\
 //--- {header}.pass.cpp

``````````

</details>


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


More information about the libcxx-commits mailing list