diff options
| author | Pavel Labath <pavel@labath.sk> | 2024-04-23 09:10:23 +0000 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2024-04-23 09:11:58 +0000 |
| commit | dbcfb434a9c7fea194c7b1f7f04f0947f88dbc85 (patch) | |
| tree | b3e0b9ff71fc26f3918bdf3f8e6cad76816fbcd6 /lldb/test/API/python_api | |
| parent | 20cb2ed5299bf1e8d9f2c92785179ec6c947d490 (diff) | |
| download | llvm-dbcfb434a9c7fea194c7b1f7f04f0947f88dbc85.zip llvm-dbcfb434a9c7fea194c7b1f7f04f0947f88dbc85.tar.gz llvm-dbcfb434a9c7fea194c7b1f7f04f0947f88dbc85.tar.bz2 | |
[lldb/test] Rename a function
I misunderstood what is the function looking up
Diffstat (limited to 'lldb/test/API/python_api')
| -rw-r--r-- | lldb/test/API/python_api/type/TestTypeList.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lldb/test/API/python_api/type/TestTypeList.py b/lldb/test/API/python_api/type/TestTypeList.py index 09c1dee..c647c2b 100644 --- a/lldb/test/API/python_api/type/TestTypeList.py +++ b/lldb/test/API/python_api/type/TestTypeList.py @@ -18,7 +18,7 @@ class TypeAndTypeListTestCase(TestBase): self.source = "main.cpp" self.line = line_number(self.source, "// Break at this line") - def _find_nested_type_in_Task_pointer(self, pointer_type): + def _find_nested_type_in_Pointer_template_arg(self, pointer_type): self.assertTrue(pointer_type) self.DebugSBType(pointer_type) pointer_info_type = pointer_type.template_args[1] @@ -168,8 +168,10 @@ class TypeAndTypeListTestCase(TestBase): # Check that FindDirectNestedType works with types from module and # expression ASTs. - self._find_nested_type_in_Task_pointer(frame0.FindVariable("pointer").GetType()) - self._find_nested_type_in_Task_pointer( + self._find_nested_type_in_Pointer_template_arg( + frame0.FindVariable("pointer").GetType() + ) + self._find_nested_type_in_Pointer_template_arg( frame0.EvaluateExpression("pointer").GetType() ) |
