mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[llvm][utils] Rename lldb dict variables to internal_dict
Most lldb scripts use `internal_dict`. Also, `dict` is a builtin constructor, it's good habit to avoid using it as a variable name.
This commit is contained in:
parent
d72bff4c3d
commit
a529f3dc9a
@ -35,7 +35,7 @@ def __lldb_init_module(debugger, internal_dict):
|
||||
|
||||
# Pretty printer for llvm::SmallVector/llvm::SmallVectorImpl
|
||||
class SmallVectorSynthProvider:
|
||||
def __init__(self, valobj, dict):
|
||||
def __init__(self, valobj, internal_dict):
|
||||
self.valobj = valobj;
|
||||
self.update() # initialize this provider
|
||||
|
||||
@ -74,7 +74,7 @@ class SmallVectorSynthProvider:
|
||||
|
||||
class ArrayRefSynthProvider:
|
||||
""" Provider for llvm::ArrayRef """
|
||||
def __init__(self, valobj, dict):
|
||||
def __init__(self, valobj, internal_dict):
|
||||
self.valobj = valobj;
|
||||
self.update() # initialize this provider
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user