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

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue May 6 06:15:58 PDT 2025


================
@@ -0,0 +1,80 @@
+//===-- RPCServerSourceEmitter.h ------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+#ifndef LLDB_RPC_GEN_RPCSERVERMETHODEMITTER_H
+#define LLDB_RPC_GEN_RPCSERVERMETHODEMITTER_H
+
+#include "RPCCommon.h"
+
+#include "clang/AST/AST.h"
+
+#include "llvm/Support/ToolOutputFile.h"
+#include "llvm/Support/raw_ostream.h"
+
+using namespace clang;
+
+namespace lldb_rpc_gen {
+class RPCServerSourceEmitter : public FileEmitter {
----------------
DavidSpickett wrote:

Please add a top level description to each of these new classes. Even if it is just "Emits the .cpp files for bla", at least then I know that it's doing headers or code or both maybe.

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


More information about the lldb-commits mailing list