diff options
| author | Kazu Hirata <kazu@google.com> | 2024-08-21 07:20:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-21 07:20:23 -0700 |
| commit | d6d8243dcd4ea768549904036ed31b8e59e14c73 (patch) | |
| tree | 071464e3d1e3f3746d6a90a1d6cea493ff2eef2a /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | bccb22709324ae329e3d80cf8af9dd225799bc17 (diff) | |
| download | llvm-d6d8243dcd4ea768549904036ed31b8e59e14c73.zip llvm-d6d8243dcd4ea768549904036ed31b8e59e14c73.tar.gz llvm-d6d8243dcd4ea768549904036ed31b8e59e14c73.tar.bz2 | |
[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/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
