[all-commits] [llvm/llvm-project] 60bea3: [ADT] "Inline" TestAndEraseFromSet into SetVector:...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Thu Aug 28 07:44:30 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 60bea3dca456a1086932ca44901f86bd304db068
https://github.com/llvm/llvm-project/commit/60bea3dca456a1086932ca44901f86bd304db068
Author: Kazu Hirata <kazu at google.com>
Date: 2025-08-28 (Thu, 28 Aug 2025)
Changed paths:
M llvm/include/llvm/ADT/SetVector.h
Log Message:
-----------
[ADT] "Inline" TestAndEraseFromSet into SetVector::remove_if (NFC) (#155790)
TestAndEraseFromSet is used only from SetVector::remove_if. This
patch "inlines" the struct into its sole user in the form of a lambda
function.
FWIW, "git blame" shows that TestAndEraseFromSet dates back to 2012.
Most likely, the lambda function wasn't an option yet back then.
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