[clang] [libclang/python] Expose Rewriter to the libclang python binding. (PR #71341)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 5 16:40:24 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 cf7d4f543c73c2707e0c53bae1e7b8419e12b871..887751e365ca72515679f61d0734b1631ac38335 clang/bindings/python/tests/cindex/test_rewrite.py clang/bindings/python/clang/cindex.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- clang/cindex.py 2023-11-06 00:25:39.000000 +0000
+++ clang/cindex.py 2023-11-06 00:40:17.188462 +0000
@@ -3580,12 +3580,10 @@
def writeMainFileToStdOut(self):
"""
Writes the main file to stdout.
"""
conf.lib.clang_CXRewriter_writeMainFileToStdOut(self)
-
-
# Now comes the plumbing to hook up the C library.
# Register callback types in common container.
``````````
</details>
https://github.com/llvm/llvm-project/pull/71341
More information about the cfe-commits
mailing list