[llvm-commits] [llvm] r42639 - /llvm/trunk/include/llvm/ADT/DenseSet.h
Chris Lattner
sabre at nondot.org
Fri Oct 5 10:40:39 PDT 2007
Author: lattner
Date: Fri Oct 5 12:40:38 2007
New Revision: 42639
URL: http://llvm.org/viewvc/llvm-project?rev=42639&view=rev
Log:
Mark count method const.
Modified:
llvm/trunk/include/llvm/ADT/DenseSet.h
Modified: llvm/trunk/include/llvm/ADT/DenseSet.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/DenseSet.h?rev=42639&r1=42638&r2=42639&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/DenseSet.h (original)
+++ llvm/trunk/include/llvm/ADT/DenseSet.h Fri Oct 5 12:40:38 2007
@@ -38,7 +38,7 @@
TheMap.clear();
}
- bool count(const ValueT &V) {
+ bool count(const ValueT &V) const {
return TheMap.count(V);
}
More information about the llvm-commits
mailing list