From ef35ba4f646457728a57f73f93e816b77bd9c8a7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 23 Aug 2005 21:45:31 +0000 Subject: [PATCH] add a method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22985 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/EquivalenceClasses.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llvm/ADT/EquivalenceClasses.h b/include/llvm/ADT/EquivalenceClasses.h index 2924df549ec..da868883951 100644 --- a/include/llvm/ADT/EquivalenceClasses.h +++ b/include/llvm/ADT/EquivalenceClasses.h @@ -138,6 +138,8 @@ public: iterator begin() const { return TheMapping.begin(); } iterator end() const { return TheMapping.end(); } + bool empty() const { return TheMapping.empty(); } + /// member_* Iterate over the members of an equivalence class. /// class member_iterator;