[llvm-commits] CVS: llvm/include/Support/DenseMap.h
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Aug 26 20:58:42 PDT 2004
Changes in directory llvm/include/Support:
DenseMap.h updated: 1.4 -> 1.5
---
Log message:
Add size member function.
---
Diffs of the changes: (+4 -0)
Index: llvm/include/Support/DenseMap.h
diff -u llvm/include/Support/DenseMap.h:1.4 llvm/include/Support/DenseMap.h:1.5
--- llvm/include/Support/DenseMap.h:1.4 Wed Aug 25 22:37:28 2004
+++ llvm/include/Support/DenseMap.h Thu Aug 26 22:58:31 2004
@@ -62,6 +62,10 @@
if (NewSize > storage_.size())
storage_.resize(NewSize, nullVal_);
}
+
+ typename StorageT::size_type size() const {
+ return storage_.size();
+ }
};
} // End llvm namespace
More information about the llvm-commits
mailing list