summaryrefslogtreecommitdiff
path: root/gcc/hash-map.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2015-11-13 17:24:30 -0500
committerJason Merrill <jason@gcc.gnu.org>2015-11-13 17:24:30 -0500
commite45639f3bd6fcc2f28256ef332dc7cc11c83acce (patch)
tree79ddbf5ab4964219c2e4c980500b28315aa102e4 /gcc/hash-map.h
parentc5a64cfec7388ddb685071d99dc7b23c918af16c (diff)
* hash-map.h (hash_map::empty): New.
From-SVN: r230357
Diffstat (limited to 'gcc/hash-map.h')
-rw-r--r--gcc/hash-map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/hash-map.h b/gcc/hash-map.h
index 59794eb1042..b83708c54a4 100644
--- a/gcc/hash-map.h
+++ b/gcc/hash-map.h
@@ -190,6 +190,8 @@ public:
size_t elements () const { return m_table.elements (); }
+ void empty () { m_table.empty(); }
+
class iterator
{
public: