We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1dd4e3 commit eb6577dCopy full SHA for eb6577d
lldb/include/lldb/Core/Telemetry.h
@@ -102,6 +102,17 @@ struct ClientInfo : public LLDBBaseTelemetryInfo {
102
std::string client_data;
103
std::optional<std::string> error_msg;
104
105
+ // For dyn_cast, isa, etc operations.
106
+ llvm::telemetry::KindType getKind() const override {
107
+ return LLDBEntryKind::ClientInfo;
108
+ }
109
+
110
+ static bool classof(const llvm::telemetry::TelemetryInfo *t) {
111
+ // Subclasses of this is also acceptable.
112
+ return (t->getKind() & LLDBEntryKind::ClientInfo) ==
113
+ LLDBEntryKind::ClientInfo;
114
115
116
void serialize(llvm::telemetry::Serializer &serializer) const override;
117
};
118
0 commit comments