summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-11-16 15:23:03 -0800
committerGitHub <noreply@github.com>2025-11-16 15:23:03 -0800
commit1a7cb1e0c7d0d1621ed264383f4b5807462971be (patch)
tree379d2f3b9b78c9553404fdf5921c5da6b07beea8 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent67c8e38b8b439b44c2cd35f590c4897b928eb682 (diff)
[ADT] Move initWithExactBucketCount to DenseMapBase (NFC) (#168283)
This patch moves initWithExactBucketCount and ExactBucketCount to DenseMapBase to share more code. Since SmallDenseMap::allocateBuckets always returns true, initWithExactBucketCount is equivalent to: void initWithExactBucketCount(unsigned NewNumBuckets) { allocateBuckets(NewNumBuckets); initEmpty(); } for SmallDenseMap. Note that ExactBucketCount is not used within DenseMapBase yet. This moves us closer to the storage policy idea outlined in #168255.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions