[Lldb-commits] [lldb] [lldb][RPC] Upstream LLDB to RPC converstion Python script (PR #138028)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 4 09:27:09 PDT 2025
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 HEAD~1...HEAD lldb/scripts/convert-lldb-header-to-rpc-header.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- convert-lldb-header-to-rpc-header.py 2025-06-04 16:23:57.000000 +0000
+++ convert-lldb-header-to-rpc-header.py 2025-06-04 16:26:42.071029 +0000
@@ -101,7 +101,8 @@
# Rename the lldb namespace definition to lldb-rpc.
file_buffer = re.sub(LLDB_NAMESPACE_REGEX, r"lldb_rpc::", file_buffer)
output_file.write(file_buffer)
+
if __name__ == "__main__":
main()
``````````
</details>
https://github.com/llvm/llvm-project/pull/138028
More information about the lldb-commits
mailing list