diff options
author | Kazu Hirata <kazu@google.com> | 2025-03-27 20:14:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-27 20:14:25 -0700 |
commit | cb80b26e3731e7b10ff516d66761a3cfbc55bd20 (patch) | |
tree | 0c3e7504a54e2caa341408614ff139c1188fabc7 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | a1bb7507455ce407ebbb659ddf0d5ae4bb5c3869 (diff) | |
download | llvm-cb80b26e3731e7b10ff516d66761a3cfbc55bd20.zip llvm-cb80b26e3731e7b10ff516d66761a3cfbc55bd20.tar.gz llvm-cb80b26e3731e7b10ff516d66761a3cfbc55bd20.tar.bz2 |
[clang] Use *Set::insert_range (NFC) (#133357)
We can use *Set::insert_range to collapse:
for (auto Elem : Range)
Set.insert(E);
down to:
Set.insert_range(Range);
In some cases, we can further fold that into the set declaration.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions