Skip to content

Commit 9908931

Browse files
committed
Adjusting comments to not be a copy-paste of the DAP json spec but instead extracting the comments to their c++ repr.
1 parent f26c9a7 commit 9908931

File tree

2 files changed

+91
-283
lines changed

2 files changed

+91
-283
lines changed

lldb/tools/lldb-dap/Handler/SourceRequestHandler.cpp

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,8 @@
1919

2020
namespace lldb_dap {
2121

22-
// "SourceRequest": {
23-
// "allOf": [ { "$ref": "#/definitions/Request" }, {
24-
// "type": "object",
25-
// "description": "Source request; value of command field is 'source'. The
26-
// request retrieves the source code for a given source reference.",
27-
// "properties": {
28-
// "command": {
29-
// "type": "string",
30-
// "enum": [ "source" ]
31-
// },
32-
// "arguments": {
33-
// "$ref": "#/definitions/SourceArguments"
34-
// }
35-
// },
36-
// "required": [ "command", "arguments" ]
37-
// }]
38-
// },
22+
/// Source request; value of command field is 'source'. The request retrieves
23+
/// the source code for a given source reference.
3924
llvm::Expected<protocol::SourceResponseBody>
4025
SourceRequestHandler::Run(const protocol::SourceArguments &args) const {
4126
const auto source =

0 commit comments

Comments
 (0)