Skip to content

Commit 6a474fe

Browse files
committed
Fixing missing includes and rebasing on main.
1 parent facdc77 commit 6a474fe

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lldb/tools/lldb-dap/Handler/RequestHandler.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,10 @@ class CancelRequestHandler
428428
protocol::CancelResponseBody> {
429429
public:
430430
using RequestHandler::RequestHandler;
431-
static llvm::StringLiteral getCommand() { return "cancel"; }
431+
static llvm::StringLiteral GetCommand() { return "cancel"; }
432+
llvm::StringMap<bool> GetCapabilities() const override {
433+
return {{"supportsCancelRequest", true}};
434+
}
432435
llvm::Expected<protocol::CancelResponseBody>
433436
Run(const protocol::CancelArguments &args) const override;
434437
};

lldb/tools/lldb-dap/Transport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "lldb/lldb-forward.h"
2020
#include "llvm/ADT/StringRef.h"
2121
#include "llvm/Support/Error.h"
22+
#include <chrono>
2223
#include <optional>
2324

2425
namespace lldb_dap {

0 commit comments

Comments
 (0)