[libcxx-commits] [libcxx] [libc++] Reject abilist if it contains an ABI tag (PR #139030)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 14 07:38: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/utils/sym_diff.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- sym_diff.py 2025-05-14 14:34:03.000000 +0000
+++ sym_diff.py 2025-05-14 14:37:47.274835 +0000
@@ -79,11 +79,11 @@
if args.only_stdlib:
old_syms_list, _ = util.filter_stdlib_symbols(old_syms_list)
new_syms_list, _ = util.filter_stdlib_symbols(new_syms_list)
for symbol in new_syms_list:
- if 'B' in symbol["name"]:
+ if "B" in symbol["name"]:
print(f"Symbol {symbol['name']} contains an ABI tag!")
sys.exit(1)
added, removed, changed = diff.diff(old_syms_list, new_syms_list)
if args.removed_only:
``````````
</details>
https://github.com/llvm/llvm-project/pull/139030
More information about the libcxx-commits
mailing list