[all-commits] [llvm/llvm-project] 3d83c5: [ADT] Simplify SmallSet

Victor Campos via All-commits all-commits at lists.llvm.org
Fri Sep 20 05:11:57 PDT 2024


  Branch: refs/heads/users/vhscampos/smallset-simplify
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d83c5456c35f891aefa65f7cc6b37795af99c32
      https://github.com/llvm/llvm-project/commit/3d83c5456c35f891aefa65f7cc6b37795af99c32
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

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

  Log Message:
  -----------
  [ADT] Simplify SmallSet

- 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