[Lldb-commits] [clang] [lldb] [llvm] [StrTable] Switch the option parser to `llvm::StringTable` (PR #123308)

Reid Kleckner via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 22 12:47:43 PST 2025


================
@@ -33,25 +33,26 @@ using namespace llvm::opt;
 
 namespace {
 struct OptNameLess {
-  const char *StrTable;
-  ArrayRef<unsigned> PrefixesTable;
+  const StringTable *StrTable;
----------------
rnk wrote:

Can this be a const reference instead? Is there a reason you chose to make this a pointer?

https://github.com/llvm/llvm-project/pull/123308


More information about the lldb-commits mailing list