aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/edit-swig-python-wrapper-file.py
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-06-08 11:44:30 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-06-08 11:44:30 +0000
commit4e36e5bb4c194a474e653e74bb9c465af90511fb (patch)
treea301be48168dbeff055b1b561df73ec64110f6bd /lldb/scripts/Python/edit-swig-python-wrapper-file.py
parent05911246083206723b4e025286bdfa8da6574e76 (diff)
downloadllvm-4e36e5bb4c194a474e653e74bb9c465af90511fb.zip
llvm-4e36e5bb4c194a474e653e74bb9c465af90511fb.tar.gz
llvm-4e36e5bb4c194a474e653e74bb9c465af90511fb.tar.bz2
Use realloc instead of malloc+memcpy when growing a POD SmallVector. A smart
realloc implementation can try to expand the allocated memory block in-place, avoiding the copy. llvm-svn: 105605
Diffstat (limited to 'lldb/scripts/Python/edit-swig-python-wrapper-file.py')
0 files changed, 0 insertions, 0 deletions