[Lldb-commits] [PATCH] D151813: [lldb] Take StringRef names in GetChildAtNamePath (NFC)

Michael Buch via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 31 08:45:12 PDT 2023


Michael137 accepted this revision.
Michael137 added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: lldb/include/lldb/Core/ValueObject.h:483
   // this will always create the children if necessary
-  lldb::ValueObjectSP GetChildAtNamePath(llvm::ArrayRef<ConstString> names,
-                                         ConstString *name_of_error = nullptr);
+  lldb::ValueObjectSP GetChildAtNamePath(llvm::ArrayRef<llvm::StringRef> names);
 
----------------
Guessing removing the parameter is fine because no callers were actually passing it?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151813



More information about the lldb-commits mailing list