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:
52c0253
)
Mark count method const.
author
Chris Lattner
<sabre@nondot.org>
Fri, 5 Oct 2007 17:40:38 +0000
(17:40 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 5 Oct 2007 17:40:38 +0000
(17:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42639
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 1a1de8b76f92bb3ae7520344ee2b47752de52fa2..b19dc5e2fc34224bf2a09a4d9a56db63bdc20d91 100644
(file)
--- a/
include/llvm/ADT/DenseSet.h
+++ b/
include/llvm/ADT/DenseSet.h
@@
-38,7
+38,7
@@
public:
TheMap.clear();
}
- bool count(const ValueT &V) {
+ bool count(const ValueT &V)
const
{
return TheMap.count(V);
}