[all-commits] [llvm/llvm-project] 45918f: [llvm][NFC] In `SetVector`, `contains` and `count`...
David Stone via All-commits
all-commits at lists.llvm.org
Tue Dec 2 16:02:37 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 45918f50aa956e7c9ecb0d931a85e533c488d741
https://github.com/llvm/llvm-project/commit/45918f50aa956e7c9ecb0d931a85e533c488d741
Author: David Stone <davidfromonline at gmail.com>
Date: 2025-12-02 (Tue, 02 Dec 2025)
Changed paths:
M llvm/include/llvm/ADT/SetVector.h
M llvm/unittests/ADT/SetVectorTest.cpp
Log Message:
-----------
[llvm][NFC] In `SetVector`, `contains` and `count` now automatically accept `const T *` arguments when the key is `T *` (#170377)
Also use `is_contained` to implement `contains`, since this tries the
`contains` member function of the set type first.
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