[llvm-branch-commits] [clang] [llvm] [ADT] Simplify SmallSet (PR #109412)

2024-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-adt Author: Victor Campos (vhscampos) Changes - 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`. --- Full diff: htt

[llvm-branch-commits] [clang] [llvm] [ADT] Simplify SmallSet (PR #109412)

2024-09-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Victor Campos (vhscampos) Changes - 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`. --- Full diff: https:

[llvm-branch-commits] [clang] [llvm] [ADT] Simplify SmallSet (PR #109412)

2024-09-20 Thread Victor Campos via llvm-branch-commits
https://github.com/vhscampos created https://github.com/llvm/llvm-project/pull/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`. >From 3d83c5456c35f891aef