[libcxx-commits] [libcxx] [libc++][modules] Rewrite the modulemap to have fewer top-level modules (PR #107638)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 6 13:53:43 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 775c50709c2d18acc085c089392847c5968457b9...40c47c507be34b6d2f1b06db6e9f8ac33a668913 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-09-06 20:49:14.000000 +0000
+++ clang_modules_include.gen.py 2024-09-06 20:53:11.502301 +0000
@@ -40,11 +40,12 @@
{lit_header_restrictions.get(header, '')}
#include <{header}>
""")
-print(f"""\
+print(
+ f"""\
//--- import_std.compile.pass.mm
// RUN: %{{cxx}} %s %{{flags}} %{{compile_flags}} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only
// REQUIRES: clang-modules-build
@@ -61,6 +62,7 @@
// TODO: Investigate this failure
// UNSUPPORTED: LIBCXX-FREEBSD-FIXME
@import std;
-""")
+"""
+)
``````````
</details>
https://github.com/llvm/llvm-project/pull/107638
More information about the libcxx-commits
mailing list