diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2017-12-11 19:22:59 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2017-12-11 19:22:59 +0000 |
commit | 8c5886b45f06d667b3218daaaddf3b137c81a0ba (patch) | |
tree | e658517fb06b12d23bf2982c56cc2411a7b150d7 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | ec128ace8a4d7fdcdd9ffc10a94facbbda518c87 (diff) | |
download | bcm5719-llvm-8c5886b45f06d667b3218daaaddf3b137c81a0ba.tar.gz bcm5719-llvm-8c5886b45f06d667b3218daaaddf3b137c81a0ba.zip |
Ensure moved-from container is cleared on move
In all cases except for this optimistic attempt to reuse memory, the
moved-from TinyPtrVector was left `empty()` at the end of this
assignment. Though using a container after it's been moved from can be a
bit sketchy, it's probably best to just be consistent here.
llvm-svn: 320408
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions