[Lldb-commits] [lldb] Make sure that a `Progress` "completed" update is always reported at destruction (PR #102097)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 6 15:15:52 PDT 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 396343f17b1182ff8ed698beac3f9b93b1d9dabd a2c9310e66250a9d046b42e8446cf5b8c2ff8172 --extensions cpp -- lldb/source/Core/Progress.cpp lldb/unittests/Core/ProgressReportTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/unittests/Core/ProgressReportTest.cpp b/lldb/unittests/Core/ProgressReportTest.cpp
index d21a181aff..5fac703cd2 100644
--- a/lldb/unittests/Core/ProgressReportTest.cpp
+++ b/lldb/unittests/Core/ProgressReportTest.cpp
@@ -205,7 +205,8 @@ TEST_F(ProgressReportTest, TestReportDestructionWithPartialProgress) {
EXPECT_FALSE(data->IsFinite());
EXPECT_EQ(data->GetCompleted(), Progress::kNonDeterministicTotal);
EXPECT_EQ(data->GetTotal(), Progress::kNonDeterministicTotal);
- EXPECT_EQ(data->GetMessage(), "Infinite progress: Report 2");}
+ EXPECT_EQ(data->GetMessage(), "Infinite progress: Report 2");
+}
TEST_F(ProgressReportTest, TestProgressManager) {
ListenerSP listener_sp =
``````````
</details>
https://github.com/llvm/llvm-project/pull/102097
More information about the lldb-commits
mailing list