File tree 1 file changed +6
-0
lines changed
llvm/include/llvm/Telemetry
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ namespace telemetry {
30
30
31
31
class Serializer {
32
32
public:
33
+ virtual ~Serializer () = default ;
34
+
33
35
virtual Error init () = 0;
34
36
virtual void write (StringRef KeyName, bool Value) = 0;
35
37
virtual void write (StringRef KeyName, StringRef Value) = 0;
@@ -62,6 +64,8 @@ class Serializer {
62
64
// / This struct can be extended as needed to add additional configuration
63
65
// / points specific to a vendor's implementation.
64
66
struct Config {
67
+ virtual ~Config () = default ;
68
+
65
69
// If true, telemetry will be enabled.
66
70
const bool EnableTelemetry;
67
71
Config (bool E) : EnableTelemetry(E) {}
@@ -132,6 +136,8 @@ class Destination {
132
136
// / monitored and transmitting the data elsewhere.
133
137
class Manager {
134
138
public:
139
+ virtual ~Manager () = default ;
140
+
135
141
// Optional callback for subclasses to perform additional tasks before
136
142
// dispatching to Destinations.
137
143
virtual Error preDispatch (TelemetryInfo *Entry) = 0;
You can’t perform that action at this time.
0 commit comments