[libcxx-commits] [libcxx] [libc++][modules] Improves std.compat module. (PR #76330)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 17 08:29:52 PST 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 2db9244b6f66a4fd4c937de7b33a5b6dda4a06a8...05eea784a13fad74a841dd1d7c9a7849e33fd0ca libcxx/test/libcxx/module_std_compat.gen.py libcxx/utils/generate_libcxx_cppm_in.py libcxx/utils/libcxx/header_information.py libcxx/utils/libcxx/test/format.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- utils/libcxx/test/format.py 2024-01-17 16:27:18.000000 +0000
+++ utils/libcxx/test/format.py 2024-01-17 16:29:44.750000 +0000
@@ -169,11 +169,11 @@
script.insert(
0,
"%dbg(MODULE std.compat) %{cxx} %{flags} "
f"{compileFlags} "
"-Wno-reserved-module-identifier -Wno-reserved-user-defined-literal "
- "-fmodule-file=std=%T/std.pcm " # The std.compat module imports std.
+ "-fmodule-file=std=%T/std.pcm " # The std.compat module imports std.
"--precompile -o %T/std.compat.pcm -c %{module}/std.compat.cppm",
)
moduleCompileFlags.extend(
["-fmodule-file=std.compat=%T/std.compat.pcm", "%T/std.compat.pcm"]
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/76330
More information about the libcxx-commits
mailing list