File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
llvm/include/llvm/Telemetry Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ namespace telemetry {
3030
3131class Serializer {
3232public:
33+ virtual ~Serializer () = default ;
34+
3335 virtual Error init () = 0;
3436 virtual void write (StringRef KeyName, bool Value) = 0;
3537 virtual void write (StringRef KeyName, StringRef Value) = 0;
@@ -62,6 +64,8 @@ class Serializer {
6264// / This struct can be extended as needed to add additional configuration
6365// / points specific to a vendor's implementation.
6466struct Config {
67+ virtual ~Config () = default ;
68+
6569 // If true, telemetry will be enabled.
6670 const bool EnableTelemetry;
6771 Config (bool E) : EnableTelemetry(E) {}
@@ -132,6 +136,8 @@ class Destination {
132136// / monitored and transmitting the data elsewhere.
133137class Manager {
134138public:
139+ virtual ~Manager () = default ;
140+
135141 // Optional callback for subclasses to perform additional tasks before
136142 // dispatching to Destinations.
137143 virtual Error preDispatch (TelemetryInfo *Entry) = 0;
You can’t perform that action at this time.
0 commit comments