[Lldb-commits] [lldb] [llvm] [lldb][telemetry] Implement LLDB Telemetry (part 1) (PR #119716)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 17 10:55:07 PST 2024
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 36c34ec967c28c77406fe85ef3237a167a243763 23dd58e37826a1ba300b7eb887104c46ab92c0f9 --extensions cpp,h -- lldb/include/lldb/Core/Telemetry.h lldb/source/Core/Telemetry.cpp llvm/include/llvm/Telemetry/Telemetry.h llvm/lib/Telemetry/Telemetry.cpp lldb/include/lldb/lldb-enumerations.h
``````````
</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 17d677f5387..66ec9ee16d2 100644
--- a/lldb/source/Core/Telemetry.cpp
+++ b/lldb/source/Core/Telemetry.cpp
@@ -145,7 +145,8 @@ std::unique_ptr<TelemetryManager> TelemetryManager::CreateInstance(
std::unique_ptr<llvm::telemetry::Config> config,
lldb_private::Debugger *debugger) {
- return std::unique_ptr<TelemetryManager>(new TelemetryManager(std::move(config), debugger));
+ return std::unique_ptr<TelemetryManager>(
+ new TelemetryManager(std::move(config), debugger));
}
llvm::Error TelemetryManager::dispatch(TelemetryInfo *entry) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/119716
More information about the lldb-commits
mailing list