llvm/unittests/ADT
Jeffrey Yasskin 81cf432569 Fix DenseMap iterator constness.
This patch forbids implicit conversion of DenseMap::const_iterator to
DenseMap::iterator which was possible because DenseMapIterator inherited
(publicly) from DenseMapConstIterator. Conversion the other way around is now
allowed as one may expect.

The template DenseMapConstIterator is removed and the template parameter
IsConst which specifies whether the iterator is constant is added to
DenseMapIterator.

Actually IsConst parameter is not necessary since the constness can be
determined from KeyT but this is not relevant to the fix and can be addressed
later.

Patch by Victor Zverovich!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86636 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-10 01:02:17 +00:00
..
APFloatTest.cpp Add test for PR4873, which works for me. 2009-09-03 22:57:02 +00:00
APIntTest.cpp Pacify the compiler (signed with unsigned comparison) by making 2009-10-13 09:23:11 +00:00
DenseMapTest.cpp Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
DenseSetTest.cpp
ImmutableSetTest.cpp
Makefile
SmallStringTest.cpp Remove SmallString::append_*int* unit tests. 2009-08-19 19:41:05 +00:00
SmallVectorTest.cpp Add SmallVector::{capacity,set_size}. 2009-08-19 17:48:28 +00:00
SparseBitVectorTest.cpp Add a missing ilist_node.h #include to SparseBitVector, and add a very short 2009-07-25 00:33:57 +00:00
StringMapTest.cpp Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
StringRefTest.cpp Add StringRef::{rfind, rsplit} 2009-09-16 22:38:48 +00:00
TripleTest.cpp Improve Triple to recognize the OS in i386-mingw32. 2009-08-18 19:26:55 +00:00
TwineTest.cpp Twine: Use raw_ostream::write_hex, remove unused itohexstr method. 2009-07-30 18:30:19 +00:00
ValueMapTest.cpp Type.h doesn't need to #include LLVMContext.h 2009-10-27 17:08:31 +00:00