summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2021-02-27 19:18:09 +0000
committerMehdi Amini <joker.eph@gmail.com>2021-02-27 19:18:09 +0000
commit014575932fc3acbb0f1c5b46ff2bfcebf69e6e62 (patch)
treed2902c0af55522095f1f2ebac05fee8be13d7584 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent7b06786de239a4ab7d53ee8ca0b2f5a9b15a871a (diff)
Fix Block::eraseArguments: keep track the first removed element while removing
Not only this is likely more efficient than BitVector::find_first(), but also if the BitVector is empty find_first() returns -1, which llvm::drop_begin isn't robust against.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions