llvm-6502/include/llvm/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
..
APFloat.h Remove getIEEEFloatParts and getIEEEDoubleParts. They are not needed. 2009-10-28 01:08:17 +00:00
APInt.h Add a ceilLogBase2 function to APInt. 2009-10-13 01:49:02 +00:00
APSInt.h
BitVector.h
DenseMap.h Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
DenseMapInfo.h More warnings patrol: Another unused argument and more implicit 2009-10-17 23:56:18 +00:00
DenseSet.h
DepthFirstIterator.h Clean up the minor mess I caused with removing iterator.h. I shall take care of 80-col violations and the FIXME later. (Thanks goodness that I live in another continent, so the monkeypox did not strike me :-) 2009-08-27 06:41:46 +00:00
EquivalenceClasses.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
FoldingSet.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
GraphTraits.h
ilist_node.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
ilist.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
ImmutableList.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
ImmutableMap.h Make a few more LLVM headers parsable as standalone headers. 2009-11-05 23:01:30 +00:00
ImmutableSet.h Make a few more LLVM headers parsable as standalone headers. 2009-11-05 23:01:30 +00:00
IndexedMap.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
IntrusiveRefCntPtr.h
OwningPtr.h
PointerIntPair.h Fix a few places where PointerIntPair was using PointerLikeTypeTraits<PointerTy> 2009-09-17 20:35:18 +00:00
PointerUnion.h Add a bunch of missing "template" keywords to disambiguate dependent template names. GCC eats this ill-formed code, Clang does not. I already filed PR5404 to improve recovery in this case 2009-11-06 00:12:53 +00:00
PostOrderIterator.h eliminate all 80-col violations that I have introduced in my recent checkins (and some others more) 2009-08-27 23:44:33 +00:00
PriorityQueue.h Make a few more LLVM headers parsable as standalone headers. 2009-11-05 23:01:30 +00:00
SCCIterator.h switch scciterator to use DenseMap instead of std::map 2009-09-15 04:37:49 +00:00
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallPtrSet.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
SmallSet.h Fix apostrophos. 2009-09-15 15:08:33 +00:00
SmallString.h add a simple c_str() method to SmallString. 2009-09-19 23:57:31 +00:00
SmallVector.h Clean up the minor mess I caused with removing iterator.h. I shall take care of 80-col violations and the FIXME later. (Thanks goodness that I live in another continent, so the monkeypox did not strike me :-) 2009-08-27 06:41:46 +00:00
SparseBitVector.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
Statistic.h
STLExtras.h Clean up the minor mess I caused with removing iterator.h. I shall take care of 80-col violations and the FIXME later. (Thanks goodness that I live in another continent, so the monkeypox did not strike me :-) 2009-08-27 06:41:46 +00:00
StringExtras.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
StringMap.h Pass StringRef by value. 2009-11-06 10:58:06 +00:00
StringRef.h Pass StringRef by value. 2009-11-06 10:58:06 +00:00
StringSet.h
StringSwitch.h Add StringSwitch::Cases overloads, for matching multiple strings to a single 2009-11-09 23:05:44 +00:00
Trie.h Make a few more LLVM headers parsable as standalone headers. 2009-11-05 23:01:30 +00:00
Triple.h Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Twine.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
UniqueVector.h
ValueMap.h Fix VS build, patch by Marius Wachtler. 2009-10-27 02:17:51 +00:00
VectorExtras.h