diff options
author | Kazu Hirata <kazu@google.com> | 2024-09-06 10:55:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 10:55:38 -0700 |
commit | c014db47ca298ad7a0f52a57c3bfc2a9914371b2 (patch) | |
tree | def51e499da8469ab42bd811ec6770e4c1447054 /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 59f8796aaabc1ce400a8698431d3c6bfab4ad1a4 (diff) | |
download | llvm-c014db47ca298ad7a0f52a57c3bfc2a9914371b2.zip llvm-c014db47ca298ad7a0f52a57c3bfc2a9914371b2.tar.gz llvm-c014db47ca298ad7a0f52a57c3bfc2a9914371b2.tar.bz2 |
[ADT] Remove the const variant of LookupBucketFor in DenseMap (#107608)
DenseMap has const and non-const variants of LookupBucketFor to find a
bucket for insertion purposes. Now that queries (e.g. find, contains,
and erase) have been migrated to use doFind instead of
LookupBucketFor, nobody uses the const variant of LookupBucketFor.
This patch removes the const variant.
As far as the logistics go, the non-const variant calls the const
variant with a couple of const_cast, so this patch repurposes the
const variant as the non-const one while removing the original
non-const variant.
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions