[all-commits] [llvm/llvm-project] ce6c23: [ADT][NFC] Simplify SmallSet (#109412)

Victor Campos via All-commits all-commits at lists.llvm.org
Wed Sep 25 03:24:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce6c236c965dc1bb5fa2257e17ea253a015705cc
      https://github.com/llvm/llvm-project/commit/ce6c236c965dc1bb5fa2257e17ea253a015705cc
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2024-09-25 (Wed, 25 Sep 2024)

  Changed paths:
    M clang/lib/Basic/TargetID.cpp
    M llvm/include/llvm/ADT/SmallSet.h

  Log Message:
  -----------
  [ADT][NFC] Simplify SmallSet (#109412)

- Remove dependence on `STLExtras.h`.
- Remove unused header inclusions.
- Make `count` use `contains` for deduplication.
- Replace hand-written linear scans on Vector by `std::find`.



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