From ed0d7db3db8fbbe3c0132aaf7c87bf0ef2a299c2 Mon Sep 17 00:00:00 2001 From: Myriad-Dreamin Date: Sun, 11 Jan 2026 15:30:42 +0800 Subject: [PATCH] dev: simplify protocol def --- include/Server/Plugin.h | 5 +---- include/Server/PluginProtocol.h | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/Server/Plugin.h b/include/Server/Plugin.h index 4293e293..f60a6685 100644 --- a/include/Server/Plugin.h +++ b/include/Server/Plugin.h @@ -2,15 +2,12 @@ #include #include "PluginProtocol.h" -#include "Async/Async.h" -#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" -#include "llvm/Support/JSON.h" // clang-format off /// Run `python scripts/plugin-def.py update` to update the hash. -#define CLICE_PLUGIN_DEF_HASH "sha256:c46f7edfda0455327c65d40b9315ad5dc39153326c8cc63f1d8de2e2d0e7735a" +#define CLICE_PLUGIN_DEF_HASH "sha256:e7f911c923f9cdcec6c0edea328292bd48771f7139d4489ed694a72e9af33fc1" // clang-format on namespace clice { diff --git a/include/Server/PluginProtocol.h b/include/Server/PluginProtocol.h index f6947dda..a78ae740 100644 --- a/include/Server/PluginProtocol.h +++ b/include/Server/PluginProtocol.h @@ -14,7 +14,9 @@ #include "Async/Async.h" +#include "llvm/ADT/ArrayRef.h" #include "llvm/Support/Compiler.h" +#include "llvm/Support/JSON.h" namespace clice {