diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2023-03-06 14:13:07 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2023-03-06 15:28:25 +0000 |
commit | bff3682e9ede6c317bbfb666e64a7d4927ba9055 (patch) | |
tree | 7029b54c26446876b3b9847abb1394201f0f99f8 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | |
parent | 960126e04a6faad1b71e110a4262c5733e50fab7 (diff) | |
download | llvm-bff3682e9ede6c317bbfb666e64a7d4927ba9055.zip llvm-bff3682e9ede6c317bbfb666e64a7d4927ba9055.tar.gz llvm-bff3682e9ede6c317bbfb666e64a7d4927ba9055.tar.bz2 |
Fix SafeIntIterator reference type
We explicitly state that the `reference` type for Sequence iterator is a `value_type`.
Since the iterator is a lazy generator, it cannot point to any memory and so it cannot have a reference type.
Fixes https://github.com/llvm/llvm-project/issues/61122
Differential Revision: https://reviews.llvm.org/D145373
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions