[llvm] [libc++][CI] Pin the XCode version. (PR #135412)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 12 06:11:03 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/libcxx/feature_test_macro/is_implemented.sh.py bolt/test/link_fdata.py libcxx/test/libcxx/feature_test_macro/implemented_ftms.sh.py libcxx/utils/generate_feature_test_macro_components.py lldb/test/API/macosx/thread_start_bps/TestBreakpointsThreadInit.py mlir/utils/generate-test-checks.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- libcxx/utils/generate_feature_test_macro_components.py 2025-04-12 13:07:23.000000 +0000
+++ libcxx/utils/generate_feature_test_macro_components.py 2025-04-12 13:09:58.377989 +0000
@@ -2211,15 +2211,17 @@
"""Has the FTM `ftm` been implemented in the dialect `std`?"""
# When a paper for C++20 has not been implemented in libc++, then there will be no
# FTM entry in implemented_ftms for C++23 and later. Similarly, a paper like <format>
# has no entry in standard_ftms for e.g. C++11.
- if not std in self.implemented_ftms[ftm].keys() or not std in self.standard_ftms[ftm].keys():
+ if (
+ not std in self.implemented_ftms[ftm].keys()
+ or not std in self.standard_ftms[ftm].keys()
+ ):
return False
return self.implemented_ftms[ftm][std] == self.standard_ftms[ftm][std]
-
@functools.cached_property
def ftm_metadata(self) -> Dict[Ftm, Metadata]:
"""Returns the metadata of the FTMs defined in the Standard.
``````````
</details>
https://github.com/llvm/llvm-project/pull/135412
More information about the llvm-commits
mailing list