diff options
| author | Nikolas Klauser <nikolasklauser@berlin.de> | 2025-10-16 09:33:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-16 09:33:20 +0200 |
| commit | bc3bc74160bb250c61c171c96f7512bbc70327a3 (patch) | |
| tree | 8cd66ce32b90a11e6fc1fddb0df4a81c5d2e2f6f /clang/lib/AST/ByteCode/Program.cpp | |
| parent | 1f9a70fb39a11b7d4704b3de6bb3f6f84c3e863d (diff) | |
| download | llvm-bc3bc74160bb250c61c171c96f7512bbc70327a3.zip llvm-bc3bc74160bb250c61c171c96f7512bbc70327a3.tar.gz llvm-bc3bc74160bb250c61c171c96f7512bbc70327a3.tar.bz2 | |
[libc++] Remove a redundant check from __hash_table::__emplace_unique (#162856)
The `|| __bc == 0` case will never be relevant, since we know that
`size() + 1` will always be exactly 1 if `__bc == 0` and `0 *
max_load_factor()` will be zero, so the branch will already be taken due
to the first condition.
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.cpp')
0 files changed, 0 insertions, 0 deletions
