summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorNicolas Guillemot <nguillemot@apple.com>2021-02-25 18:56:51 -0800
committerNicolas Guillemot <nguillemot@apple.com>2021-03-01 10:41:10 -0800
commit6fb6bdff3701b00af4a573604f599093f7555bcf (patch)
tree7d47c643f9409c8369a62677ffdbe07c1d27010e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent8adfb38224697afca205343c0e1a49bd03ecfc09 (diff)
Fix the value_type of defusechain_iterator to match its operator*()
defusechain_iterator has an operator*() and operator->() that return references to a MachineOperand, but its "reference" and "pointer" typedefs are set as if the iterator returns a MachineInstr reference. This causes compilation errors when defusechain_iterator is used in generic code that uses the "reference" and "pointer" typedefs. This patch fixes this by updating the typedefs to use MachineOperand instead of MachineInstr. Reviewed By: mkitzan Differential Revision: https://reviews.llvm.org/D97522
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions