[libcxx-commits] [libcxx] [DRAFT][libc++][modules] Improves std.compat module. (PR #74945)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Dec 9 10:47:07 PST 2023


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 7a13e410fd40d4ee2c89355f3d2f9a309cdff2c7...b4031b7f9a0b5921f2b1fbe3d949a857a9ab1a56 libcxx/utils/generate_libcxx_cppm_in.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- generate_libcxx_cppm_in.py	2023-12-09 18:39:44.000000 +0000
+++ generate_libcxx_cppm_in.py	2023-12-09 18:46:59.712233 +0000
@@ -13,11 +13,10 @@
 from libcxx.header_information import header_restrictions
 from libcxx.header_information import headers_not_available
 
 
 def write_file(module):
-
     # TODO REMOVE THIS HACK, WE NEED A BETTER WAY TO DETECT C HEADERS
     Module_headers = (
         module_headers
         if module == "std"
         else [

``````````

</details>


https://github.com/llvm/llvm-project/pull/74945


More information about the libcxx-commits mailing list