[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:57:57 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:

Up to you, though it would be nice to encode in the test-suite that we can in fact look up other tag-types with this API

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


More information about the lldb-commits mailing list