[libcxx] [llvm] Debug windows failures for localization changes (PR #114228)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 30 06:34:13 PDT 2024
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 6563ed3162d16e7f067dda554e96d0c9d476f207...0ff4e7ac127ac4fdb089c59155375dfa0e9167fd libcxx/test/libcxx/clang_modules_include.gen.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- clang_modules_include.gen.py 2024-10-30 13:26:24.000000 +0000
+++ clang_modules_include.gen.py 2024-10-30 13:33:45.768270 +0000
@@ -18,11 +18,12 @@
import sys
sys.path.append(sys.argv[1])
from libcxx.header_information import lit_header_restrictions, public_headers
for header in public_headers:
- print(f"""\
+ print(
+ f"""\
//--- {header}.compile.pass.cpp
// RUN: %{{cxx}} %s %{{flags}} %{{compile_flags}} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only
// Older macOS SDKs were not properly modularized, which causes issues with localization.
// This feature should instead be based on the SDK version.
@@ -45,11 +46,12 @@
// UNSUPPORTED: LIBCXX-PICOLIBC-FIXME
{lit_header_restrictions.get(header, '')}
#include <{header}>
-""")
+"""
+ )
print(
f"""\
//--- import_std.compile.pass.mm
// RUN: %{{cxx}} %s %{{flags}} %{{compile_flags}} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only
``````````
</details>
https://github.com/llvm/llvm-project/pull/114228
More information about the llvm-commits
mailing list