[all-commits] [llvm/llvm-project] 0ae9c6: [tools] Use *Set::insert_range (NFC) (#133384)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Mar 28 07:53:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ae9c65d4a1c8d1e620a2843f22e77f05fcf202f
      https://github.com/llvm/llvm-project/commit/0ae9c65d4a1c8d1e620a2843f22e77f05fcf202f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

  Changed paths:
    M llvm/tools/bugpoint/CrashDebugger.cpp
    M llvm/tools/llvm-lto/llvm-lto.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [tools] Use *Set::insert_range (NFC) (#133384)

We can use *Set::insert_range to replace "for" loop-based insertions.
In some cases, we can further fold insert_range into the set
declaration.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list