diff options
| author | Nicolas Guillemot <nguillemot@apple.com> | 2021-02-25 18:56:51 -0800 |
|---|---|---|
| committer | Nicolas Guillemot <nguillemot@apple.com> | 2021-03-01 10:41:10 -0800 |
| commit | 6fb6bdff3701b00af4a573604f599093f7555bcf (patch) | |
| tree | 7d47c643f9409c8369a62677ffdbe07c1d27010e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 8adfb38224697afca205343c0e1a49bd03ecfc09 (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
