Document the return value of SmallSet insert.
[oota-llvm.git] / include / llvm / ADT / DenseSet.h
index 8ab9a33200c3b5025e52897f7280fe3d33b9e766..d699ad51ada4906c6e693ad12b8cd503d07dcc00 100644 (file)
@@ -32,8 +32,10 @@ public:
 
   bool empty() const { return TheMap.empty(); }
   unsigned size() const { return TheMap.size(); }
+  size_t getMemorySize() const { return TheMap.getMemorySize(); }
 
-  /// Grow the denseset so that it has at least Size buckets. Does not shrink
+  /// Grow the DenseSet so that it has at least Size buckets. Will not shrink
+  /// the Size of the set.
   void resize(size_t Size) { TheMap.resize(Size); }
 
   void clear() {