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 91892e8fa3830ed6590eda0bc62e2a2ea8df8872 
d848e954f969fcbb1d09b8dcca328dc1854337a8 --extensions cpp,h -- 
lldb/include/lldb/API/SBSaveCoreOptions.h 
lldb/include/lldb/API/SBThreadCollection.h 
lldb/include/lldb/Symbol/SaveCoreOptions.h 
lldb/source/API/SBSaveCoreOptions.cpp lldb/source/Symbol/SaveCoreOptions.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Symbol/SaveCoreOptions.cpp 
b/lldb/source/Symbol/SaveCoreOptions.cpp
index 743114accf..84afc585a8 100644
--- a/lldb/source/Symbol/SaveCoreOptions.cpp
+++ b/lldb/source/Symbol/SaveCoreOptions.cpp
@@ -116,7 +116,8 @@ const MemoryRanges 
&SaveCoreOptions::GetCoreFileMemoryRanges() const {
 }
 
 lldb::ThreadCollectionSP SaveCoreOptions::GetThreadsToSave() const {
-  lldb::ThreadCollectionSP threadcollection_sp = 
std::make_shared<ThreadCollection>();
+  lldb::ThreadCollectionSP threadcollection_sp =
+      std::make_shared<ThreadCollection>();
   for (const auto &thread : m_threads_to_save) {
     threadcollection_sp->AddThread(thread.second);
   }

``````````

</details>


https://github.com/llvm/llvm-project/pull/122541
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to