[Lldb-commits] [PATCH] D152870: [lldb][NFCI] Remove StructuredData::Array::GetItemAtIndexAsString overloads with ConstString

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 14 15:42:17 PDT 2023


mib added inline comments.


================
Comment at: lldb/source/Target/DynamicRegisterInfo.cpp:204
+        m_sets.push_back(
+            {ConstString(set_name).AsCString(), nullptr, 0, nullptr});
       } else {
----------------
I guess `m_sets` is a vector of `char*` ... Should we change it to `lldb::StringList` or `llvm::StringSet` so we don't have to create a `ConstString` here ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152870/new/

https://reviews.llvm.org/D152870



More information about the lldb-commits mailing list