aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
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/unittests/ScriptInterpreter/Python
parent8adfb38224697afca205343c0e1a49bd03ecfc09 (diff)
downloadllvm-6fb6bdff3701b00af4a573604f599093f7555bcf.zip
llvm-6fb6bdff3701b00af4a573604f599093f7555bcf.tar.gz
llvm-6fb6bdff3701b00af4a573604f599093f7555bcf.tar.bz2
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/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions