diff options
author | Kazu Hirata <kazu@google.com> | 2025-08-28 07:43:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-28 07:43:59 -0700 |
commit | 026918d02045e0b6890a04e339b8a9adf407b70a (patch) | |
tree | 81011e206d09e1654b3fff1098dca1029aacd953 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 42f992f004ee7cb830369558d5d5866894b6dc3d (diff) | |
download | llvm-026918d02045e0b6890a04e339b8a9adf407b70a.zip llvm-026918d02045e0b6890a04e339b8a9adf407b70a.tar.gz llvm-026918d02045e0b6890a04e339b8a9adf407b70a.tar.bz2 |
[ADT] Define SetVector::count in terms of SetVector::contains (NFC) (#155789)
We can avoid repeating the same code in count by delegating to
contains.
While I am at it, this patch adds [[nodiscard] to contains and count.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions