[Lldb-commits] [lldb] dbcfb43 - [lldb/test] Rename a function
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 23 02:12:33 PDT 2024
Author: Pavel Labath
Date: 2024-04-23T09:11:58Z
New Revision: dbcfb434a9c7fea194c7b1f7f04f0947f88dbc85
URL: https://github.com/llvm/llvm-project/commit/dbcfb434a9c7fea194c7b1f7f04f0947f88dbc85
DIFF: https://github.com/llvm/llvm-project/commit/dbcfb434a9c7fea194c7b1f7f04f0947f88dbc85.diff
LOG: [lldb/test] Rename a function
I misunderstood what is the function looking up
Added:
Modified:
lldb/test/API/python_api/type/TestTypeList.py
Removed:
################################################################################
diff --git a/lldb/test/API/python_api/type/TestTypeList.py b/lldb/test/API/python_api/type/TestTypeList.py
index 09c1dee80ef6c4..c647c2bcdccb6f 100644
--- a/lldb/test/API/python_api/type/TestTypeList.py
+++ b/lldb/test/API/python_api/type/TestTypeList.py
@@ -18,7 +18,7 @@ def setUp(self):
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 @@ def test(self):
# 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()
)
More information about the lldb-commits
mailing list