AArch64: remove arm64 triple enumerator.
[oota-llvm.git] / include / llvm / ADT / ScopedHashTable.h
index 3cc7738df8aa909747ff7b1649fa837876ea146b..02a6ea345834bb463885e59ffd3b1cf795897c8c 100644 (file)
@@ -148,6 +148,7 @@ public:
   /// ScopeTy - This is a helpful typedef that allows clients to get easy access
   /// to the name of the scope for this hash table.
   typedef ScopedHashTableScope<K, V, KInfo, AllocatorTy> ScopeTy;
+  typedef unsigned size_type;\r
 private:
   typedef ScopedHashTableVal<K, V> ValTy;
   DenseMap<K, ValTy*, KInfo> TopLevelMap;
@@ -170,7 +171,8 @@ public:
   AllocatorTy &getAllocator() { return Allocator; }
   const AllocatorTy &getAllocator() const { return Allocator; }
 
-  bool count(const K &Key) const {
+  /// Return 1 if the specified key is in the table, 0 otherwise.\r
+  size_type count(const K &Key) const {
     return TopLevelMap.count(Key);
   }