This is the next step in removing ConstString from StructuredData. There
are StringRef overloads already, let's use those where we can.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/source/Target/DynamicRegisterInfo.cpp | ||
---|---|---|
204 | 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 ? |
lldb/source/Target/DynamicRegisterInfo.cpp | ||
---|---|---|
204 | m_sets is a vector of lldb_private::RegisterSet (which contains a const char *). I think it's assumed that they are backed by a ConstString. Because RegisterSet is defined in lldb-private-types.h we'd have to move it somewhere else before we could actually use any types other than const char *, I think? |
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 ?