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 e299d34 commit 0365e81Copy full SHA for 0365e81
lldb/source/Core/Telemetry.cpp
@@ -162,12 +162,11 @@ void TelemetryManager::DispatchClientTelemetry(
162
"Cannot determine client_data from client-telemetry entry");
163
164
if (auto maybe_start_time = GetAsNanosec(dict, "start_time"))
165
- client_info.start_time += *maybe_start_time;
+ client_info.start_time += *maybe_start_time;
166
167
- auto end_time = GetAsNanosec(dict, "end_time");
168
- if (end_time.has_value()) {
+ if (auto maybe_end_time = GetAsNanosec(dict, "end_time")) {
169
SteadyTimePoint epoch;
170
- client_info.end_time = epoch + end_time.value();
+ client_info.end_time = epoch + maybe_end_time.value();
171
}
172
173
llvm::StringRef error_msg;
0 commit comments