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

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 12 04:36:17 PDT 2023


================
@@ -119,6 +119,11 @@ 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")
----------------
Michael137 wrote:

Should add tests for enums/unions as well?

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


More information about the lldb-commits mailing list