[Lldb-commits] [lldb] [lldb] Add SBType::FindNestedType() function (PR #68705)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 10 22:47:55 PDT 2023


================
@@ -313,6 +313,8 @@ class TypeImpl {
   bool GetDescription(lldb_private::Stream &strm,
                       lldb::DescriptionLevel description_level);
 
+  CompilerType FindNestedType(ConstString name);
----------------
medismailben wrote:

Do we want to make a `ConstString` for every argument that is passed to `FindNestedType` ?

I think this should take an `llvm::StringRef` and only make a `ConstString` out of it (if needed) when we know the name matches an actual type.

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


More information about the lldb-commits mailing list