[Lldb-commits] [lldb] [lldb][RPC] Upstream RPC server interface emitters (PR #138032)

via lldb-commits lldb-commits at lists.llvm.org
Tue May 27 11:38:20 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions h,cpp -- lldb/test/Shell/RPC/Generator/Inputs/Server/CheckBasicIncludesEmit.h lldb/test/Shell/RPC/Generator/Inputs/Server/CheckConstCharPointer.h lldb/tools/lldb-rpc/lldb-rpc-gen/server/RPCServerHeaderEmitter.cpp lldb/tools/lldb-rpc/lldb-rpc-gen/server/RPCServerHeaderEmitter.h lldb/tools/lldb-rpc/lldb-rpc-gen/server/RPCServerSourceEmitter.cpp lldb/tools/lldb-rpc/lldb-rpc-gen/server/RPCServerSourceEmitter.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/test/Shell/RPC/Generator/Inputs/Server/CheckConstCharPointer.h b/lldb/test/Shell/RPC/Generator/Inputs/Server/CheckConstCharPointer.h
index 6ec9637f6..37121cd44 100644
--- a/lldb/test/Shell/RPC/Generator/Inputs/Server/CheckConstCharPointer.h
+++ b/lldb/test/Shell/RPC/Generator/Inputs/Server/CheckConstCharPointer.h
@@ -6,7 +6,7 @@ class LLDB_API SBRPC_CHECKCONSTCHARPOINTER {
 public:
   // const char * parameters must decoded as rpc_common::ConstCharPointer in server side
   // source files.
-  int CheckConstCharPointer(char * string);
+  int CheckConstCharPointer(char *string);
 
 }; // class SBRPC_CHECKCONSTCHARPOINTER
 } // namespace lldb

``````````

</details>


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


More information about the lldb-commits mailing list