update config.

This commit is contained in:
ykiko
2024-09-21 19:21:43 +08:00
parent d030bc2800
commit 3cbae14b63
11 changed files with 182 additions and 75 deletions

View File

@@ -1,6 +1,5 @@
#pragma once
#include <Server/Option.h>
#include <Server/Command.h>
#include <Server/Scheduler.h>
#include <Protocol/Protocol.h>
@@ -9,7 +8,6 @@ namespace clice {
struct Server {
using Handler = llvm::unique_function<void(json::Value, json::Value)>;
Option option;
Scheduler scheduler;
CompilationDatabase CDB;
llvm::StringMap<Handler> handlers;