================
@@ -6668,6 +6676,18 @@ Status 
Process::CalculateCoreFileSaveRanges(lldb::SaveCoreStyle core_style,
   return Status(); // Success!
 }
 
+std::vector<ThreadSP>
+Process::CalculateCoreFileThreadList(const SaveCoreOptions &core_options) {
+  std::vector<ThreadSP> thread_list;
+  for (const auto &thread : m_thread_list.Threads()) {
----------------
clayborg wrote:

change `const auto &thread ` to `const ThreadSP &thread_sp` to indicate 
"thread" is a shared pointer and not use `auto` unless it saves tons of text

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

Reply via email to