diff options
author | Kazu Hirata <kazu@google.com> | 2025-08-28 07:44:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-28 07:44:07 -0700 |
commit | 60bea3dca456a1086932ca44901f86bd304db068 (patch) | |
tree | 216d4bf0f14d797a8a270fc3532b291d79479d6d /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 026918d02045e0b6890a04e339b8a9adf407b70a (diff) | |
download | llvm-60bea3dca456a1086932ca44901f86bd304db068.zip llvm-60bea3dca456a1086932ca44901f86bd304db068.tar.gz llvm-60bea3dca456a1086932ca44901f86bd304db068.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions