mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Add an empty() member to FoldingSet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55182 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1501cdbf63
commit
55beb6ded8
@ -165,6 +165,9 @@ public:
|
||||
/// size - Returns the number of nodes in the folding set.
|
||||
unsigned size() const { return NumNodes; }
|
||||
|
||||
/// empty - Returns true if there are no nodes in the folding set.
|
||||
bool empty() const { return NumNodes == 0; }
|
||||
|
||||
private:
|
||||
|
||||
/// GrowHashTable - Double the size of the hash table and rehash everything.
|
||||
|
Loading…
x
Reference in New Issue
Block a user