summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-08-21 07:20:23 -0700
committerGitHub <noreply@github.com>2024-08-21 07:20:23 -0700
commitd6d8243dcd4ea768549904036ed31b8e59e14c73 (patch)
tree071464e3d1e3f3746d6a90a1d6cea493ff2eef2a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentbccb22709324ae329e3d80cf8af9dd225799bc17 (diff)
[LTO] Use DenseSet in computeLTOCacheKey (NFC) (#105466)
The two instances of std::set are used only for membership checking purposes in computeLTOCacheKey. We do not need std::set's strengths like iterators staying valid or the ability to traverse in a sorted order. This patch changes them to DenseSet. While I am at it, this patch replaces count with contains for slightly increased readability.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions