File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ #ifndef LLDB_TOOLS_LLDB_DAP_DAPERROR_H
10
+ #define LLDB_TOOLS_LLDB_DAP_DAPERROR_H
11
+
9
12
#include " llvm/Support/Error.h"
10
13
#include < optional>
11
14
#include < string>
@@ -50,3 +53,5 @@ class NotStoppedError : public llvm::ErrorInfo<NotStoppedError> {
50
53
};
51
54
52
55
} // namespace lldb_dap
56
+
57
+ #endif // LLDB_TOOLS_LLDB_DAP_DAPERROR_H
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ #ifndef LLDB_TOOLS_LLDB_DAP_PROGRESS_EVENT_H
10
+ #define LLDB_TOOLS_LLDB_DAP_PROGRESS_EVENT_H
11
+
9
12
#include < atomic>
10
13
#include < chrono>
11
14
#include < mutex>
12
15
#include < optional>
13
16
#include < queue>
14
17
#include < thread>
15
18
16
- #include " DAPForward.h"
17
-
18
19
#include " llvm/Support/JSON.h"
19
20
20
21
namespace lldb_dap {
@@ -129,8 +130,12 @@ class ProgressEventReporter {
129
130
public:
130
131
// / \param[in] report_callback
131
132
// / Function to invoke to report the event to the IDE.
132
- ProgressEventReporter (ProgressEventReportCallback report_callback);
133
+ explicit ProgressEventReporter (ProgressEventReportCallback report_callback);
133
134
135
+ ProgressEventReporter (const ProgressEventReporter &) = delete ;
136
+ ProgressEventReporter (ProgressEventReporter &&) = delete ;
137
+ ProgressEventReporter &operator =(const ProgressEventReporter &) = delete ;
138
+ ProgressEventReporter &operator =(ProgressEventReporter &&) = delete ;
134
139
~ProgressEventReporter ();
135
140
136
141
// / Add a new event to the internal queue and report the event if
@@ -156,3 +161,5 @@ class ProgressEventReporter {
156
161
};
157
162
158
163
} // namespace lldb_dap
164
+
165
+ #endif // LLDB_TOOLS_LLDB_DAP_PROGRESS_EVENT_H
You can’t perform that action at this time.
0 commit comments