[llvm] [lldb] Add SBType::FindNestedType() function (PR #68705)

Michael Buch via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 13 02:38:04 PDT 2023


================
@@ -119,6 +119,15 @@ def test(self):
 
         self.assertEqual(task_type, task_head_pointee_type)
 
+        # Check whether we can find a nested type by name
+        name_type = task_type.FindNestedType("name")
+        self.assertTrue(name_type)
+        self.DebugSBType(name_type)
+
----------------
Michael137 wrote:

thanks!

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


More information about the llvm-commits mailing list