[libcxx-commits] [libcxx] [libc++][NFC] Add optional bounded iterator tests (PR #176597)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jan 17 14:14:43 PST 2026
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 origin/main...HEAD libcxx/utils/libcxx/test/features/libcxx_macros.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- libcxx_macros.py 2026-01-17 22:11:40.000000 +0000
+++ libcxx_macros.py 2026-01-17 22:14:17.152574 +0000
@@ -30,11 +30,11 @@
"_LIBCPP_ABI_BOUNDED_UNIQUE_PTR": "libcpp-has-abi-bounded-unique_ptr",
"_LIBCPP_ABI_FIX_UNORDERED_CONTAINER_SIZE_TYPE": "libcpp-has-abi-fix-unordered-container-size-type",
"_LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR": "libcpp-deprecated-abi-disable-pair-trivial-copy-ctor",
"_LIBCPP_ABI_NO_COMPRESSED_PAIR_PADDING": "libcpp-abi-no-compressed-pair-padding",
"_LIBCPP_PSTL_BACKEND_LIBDISPATCH": "libcpp-pstl-backend-libdispatch",
- "_LIBCPP_ABI_BOUNDED_ITERATORS_IN_OPTIONAL" : "libcpp-has-abi-bounded-iterators-in-optional",
+ "_LIBCPP_ABI_BOUNDED_ITERATORS_IN_OPTIONAL": "libcpp-has-abi-bounded-iterators-in-optional",
}
for macro, feature in macros.items():
features.append(
Feature(
name=lambda cfg, m=macro, f=feature: f + ("={}".format(compilerMacros(cfg)[m]) if compilerMacros(cfg)[m] else ""),
``````````
</details>
https://github.com/llvm/llvm-project/pull/176597
More information about the libcxx-commits
mailing list