1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00

Add an empty() member to FoldingSet.

llvm-svn: 55182
This commit is contained in:
Dan Gohman 2008-08-22 16:14:23 +00:00
parent 3b4af81381
commit abc71f026a

View File

@ -164,6 +164,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: