We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 652988b commit 0394888Copy full SHA for 0394888
llvm/lib/Support/TrieRawHashMap.cpp
@@ -79,7 +79,7 @@ class TrieSubtrie final
79
80
static constexpr size_t sizeToAlloc(unsigned NumBits) {
81
assert(NumBits < 20 && "Tries should have fewer than ~1M slots");
82
- size_t Count = 1u << NumBits;
+ unsigned Count = 1u << NumBits;
83
return totalSizeToAlloc<LazyAtomicPointer<TrieNode>>(Count);
84
}
85
0 commit comments