aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/modify-python-lldb.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-25 23:44:48 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-25 23:44:48 +0000
commit882b28b7bf327d701bd6686c8efcbc921fa49ec4 (patch)
treeb55461ee37df99a0b656158df13b8a78cea4cdab /lldb/scripts/Python/modify-python-lldb.py
parenta4bc3a7091a6d470e070d7d61d5614e5b84cc172 (diff)
downloadllvm-882b28b7bf327d701bd6686c8efcbc921fa49ec4.zip
llvm-882b28b7bf327d701bd6686c8efcbc921fa49ec4.tar.gz
llvm-882b28b7bf327d701bd6686c8efcbc921fa49ec4.tar.bz2
Rename the parameter for the end-of-list test function from end_of_list to end_of_list_test.
llvm-svn: 136016
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
-rw-r--r--lldb/scripts/Python/modify-python-lldb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/scripts/Python/modify-python-lldb.py b/lldb/scripts/Python/modify-python-lldb.py
index 0a0ad24..6f211b2 100644
--- a/lldb/scripts/Python/modify-python-lldb.py
+++ b/lldb/scripts/Python/modify-python-lldb.py
@@ -92,7 +92,7 @@ linked_list_iter_def = '''
# ==================================================
# Iterator for lldb.SBValue treated as a linked list
# ==================================================
- def linked_list_iter(self, next_item_name, end_of_list):
+ def linked_list_iter(self, next_item_name, end_of_list_test):
"""Generator adaptor to support iteration for SBValue as a linked list.
linked_list_iter() is a special purpose iterator to treat the SBValue as
@@ -136,7 +136,7 @@ linked_list_iter_def = '''
yield item
# Prepare for the next iteration.
item = item.GetChildMemberWithName(next_item_name)
- if end_of_list(item):
+ if end_of_list_test(item):
break
except:
# Exception occurred. Stop the generator.