diff options
author | Kazu Hirata <kazu@google.com> | 2024-08-23 14:19:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-23 14:19:48 -0700 |
commit | 3b703d479ff37883242acc20fed317ed8a5466dc (patch) | |
tree | 2c5859a5953d399aece05c42cd020bdbb22e0dea /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 64afbf0cbe2e7b77cc0e139cb9ccd086a7f9b930 (diff) | |
download | llvm-3b703d479ff37883242acc20fed317ed8a5466dc.zip llvm-3b703d479ff37883242acc20fed317ed8a5466dc.tar.gz llvm-3b703d479ff37883242acc20fed317ed8a5466dc.tar.bz2 |
[Bitcode] Use DenseSet instead of std::set (NFC) (#105851)
DefOrUseGUIDs is used only for membership checking purposes. We don't
need std::set's strengths like iterators staying valid or the ability
to traverse in a sorted order.
While I am at it, this patch replaces count with contains for slightly
increased readability.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions