llvm-6502/lib/CodeGen/AsmPrinter
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
..
AsmPrinter.cpp Fix comment typos. 2009-11-06 22:38:38 +00:00
CMakeLists.txt Fix cmake builds. 2009-05-19 00:18:14 +00:00
DIE.cpp convert the DIE printing stuff to use raw_ostream instead of std::ostream. 2009-08-23 01:01:17 +00:00
DIE.h convert the DIE printing stuff to use raw_ostream instead of std::ostream. 2009-08-23 01:01:17 +00:00
DwarfDebug.cpp Do not bother to emit debug info for nameless global variable. 2009-11-06 17:58:12 +00:00
DwarfDebug.h Do not held on to DenseMap slot accross map insertion. The insertion may cause the map to grow rending the slot invalid. 2009-10-27 20:47:17 +00:00
DwarfException.cpp Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
DwarfException.h --- Reverse-merging r82282 into '.': 2009-09-20 09:13:15 +00:00
DwarfLabel.cpp convert the DIE printing stuff to use raw_ostream instead of std::ostream. 2009-08-23 01:01:17 +00:00
DwarfLabel.h convert the DIE printing stuff to use raw_ostream instead of std::ostream. 2009-08-23 01:01:17 +00:00
DwarfPrinter.cpp Simply LSDA lable emission to use a direct special-case output instead of 2009-09-01 16:43:35 +00:00
DwarfPrinter.h Simply LSDA lable emission to use a direct special-case output instead of 2009-09-01 16:43:35 +00:00
DwarfWriter.cpp Add support to handle debug info attached to an instruction. 2009-10-06 18:37:31 +00:00
Makefile remove dead makefile flags. 2009-06-24 05:29:56 +00:00
OcamlGCPrinter.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00