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 5ecce45ea2980aff35d1283d4dd3feb8f74de16c
19a03d8c40103298f0cb51af173f7be086eefd62 --extensions cpp --
lldb/tools/lldb-dap/lldb-dap.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/tools/lldb-dap/lldb-dap.cpp b/lldb/tools/lldb-dap/lldb-dap.cpp
index 9635a683d2..2f72518160 100644
--- a/lldb/tools/lldb-dap/lldb-dap.cpp
+++ b/lldb/tools/lldb-dap/lldb-dap.cpp
@@ -452,10 +452,12 @@ void ProgressEventThreadFunction(DAP &dap) {
lldb::SBStructuredData data =
lldb::SBDebugger::GetProgressDataFromEvent(event);
- const uint64_t progress_id = GetUintFromStructuredData(data,
"progress_id");
+ const uint64_t progress_id =
+ GetUintFromStructuredData(data, "progress_id");
const uint64_t completed = GetUintFromStructuredData(data,
"completed");
const uint64_t total = GetUintFromStructuredData(data, "total");
- const std::string details = GetStringFromStructuredData(data,
"details");
+ const std::string details =
+ GetStringFromStructuredData(data, "details");
std::string message;
// Include the title on the first event.
if (completed == 0) {
@@ -464,7 +466,6 @@ void ProgressEventThreadFunction(DAP &dap) {
message += ": ";
}
-
message += details;
// Verbose check, but we get -1 for the uint64 on failure to read
// so we check everything before broadcasting an event.
``````````
</details>
https://github.com/llvm/llvm-project/pull/124648
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits