[Lldb-commits] [lldb] [LLDB][NFC] Refactor code extracting timestamp from StructuredData (PR #145954)

via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 27 08:13:23 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp -- lldb/source/Core/Telemetry.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Core/Telemetry.cpp b/lldb/source/Core/Telemetry.cpp
index 5382c0e09..6d2848f89 100644
--- a/lldb/source/Core/Telemetry.cpp
+++ b/lldb/source/Core/Telemetry.cpp
@@ -162,7 +162,7 @@ void TelemetryManager::DispatchClientTelemetry(
              "Cannot determine client_data from client-telemetry entry");
 
   if (auto maybe_start_time = GetAsNanosec(dict, "start_time"))
-      client_info.start_time += *maybe_start_time;
+    client_info.start_time += *maybe_start_time;
 
   auto end_time = GetAsNanosec(dict, "end_time");
   if (end_time.has_value()) {

``````````

</details>


https://github.com/llvm/llvm-project/pull/145954


More information about the lldb-commits mailing list