projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f1ce2
)
Add a getMemorySize() function for DenseSet.
author
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Mon, 3 Dec 2012 21:46:21 +0000
(21:46 +0000)
committer
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Mon, 3 Dec 2012 21:46:21 +0000
(21:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169163
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/DenseSet.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/DenseSet.h
b/include/llvm/ADT/DenseSet.h
index 8ab9a33200c3b5025e52897f7280fe3d33b9e766..776863a4c0ae1689ff37ba21d4c625e4acd6200f 100644
(file)
--- a/
include/llvm/ADT/DenseSet.h
+++ b/
include/llvm/ADT/DenseSet.h
@@
-32,6
+32,7
@@
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
void resize(size_t Size) { TheMap.resize(Size); }