diff options
author | Kazu Hirata <kazu@google.com> | 2025-03-26 07:46:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-26 07:46:24 -0700 |
commit | 40d251db4a58df37e356a10d94db2263c5f60d4b (patch) | |
tree | c4431ee766a0876b780559691cd21e9b1d8f493c /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | e78eef2b6bd8932215bc47ca7a6561dea19a33f0 (diff) | |
download | llvm-40d251db4a58df37e356a10d94db2263c5f60d4b.zip llvm-40d251db4a58df37e356a10d94db2263c5f60d4b.tar.gz llvm-40d251db4a58df37e356a10d94db2263c5f60d4b.tar.bz2 |
[llvm] Use *Set::insert_range (NFC) (#133041)
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 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions