aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lua_api/TestLuaAPI.py
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-10-25 10:05:51 -0700
committerGitHub <noreply@github.com>2025-10-25 10:05:51 -0700
commit9458ecd298a6d445ade80e750cbbfb89da0e0d5f (patch)
treed44610905538112b3e15b4fd5d198ac9c90616c8 /lldb/test/API/lua_api/TestLuaAPI.py
parente4909203feb2f6f4eccb42ed148cc39cedd5b524 (diff)
downloadllvm-9458ecd298a6d445ade80e750cbbfb89da0e0d5f.zip
llvm-9458ecd298a6d445ade80e750cbbfb89da0e0d5f.tar.gz
llvm-9458ecd298a6d445ade80e750cbbfb89da0e0d5f.tar.bz2
[ADT] Move shrink_and_clear to DenseMapBase (NFC) (#165103)
Without this patch, DenseMap and SmallDenseMap have distinct implementations of shrink_and_clear. These implementations mix a common high-level algorithm with class-specific logic. This patch moves the common algorithm into DenseMapBase::shrink_and_clear. A new private helper, planShrinkAndClear, now handles the class-specific logic for deciding whether to shrink the buffer. The base class method now serves as the single public entry point.
Diffstat (limited to 'lldb/test/API/lua_api/TestLuaAPI.py')
0 files changed, 0 insertions, 0 deletions