[libc-commits] [libc] [libc] added grouping of guarded functions in header generation (PR #98532)

via libc-commits libc-commits at lists.llvm.org
Thu Jul 11 13:07:20 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 a105113feff58bf568a25d7b45e20b6dde4ccd8f...d95b2819bffb6eee3e7e935adddb9bedc2ca90a6 libc/newhdrgen/class_implementation/classes/function.py libc/newhdrgen/header.py
``````````

</details>

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

``````````diff
--- header.py	2024-07-11 20:00:20.000000 +0000
+++ header.py	2024-07-11 20:06:59.967421 +0000
@@ -82,11 +82,10 @@
                     content.append("")
         if current_guard != None:
             content.pop()
             content.append(f"#endif // {current_guard}")
             content.append("")
-                                        
 
         for object in self.objects:
             content.append(str(object))
         content.append("__END_C_DECLS")
 

``````````

</details>


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


More information about the libc-commits mailing list