llvm-6502/lib
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
..
Analysis Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
Archive
AsmParser Fix MSVC warning ( | with bool and unsigned int). 2009-11-07 23:51:55 +00:00
Bitcode Re-commit r86077 now that r86290 fixes the 179.art and 175.vpr ARM regressions. 2009-11-07 00:16:28 +00:00
CodeGen Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
CompilerDriver llvmc: Add a '-time' option. 2009-11-07 06:33:58 +00:00
ExecutionEngine Remove dlsym stubs, with Nate Begeman's permission. 2009-11-09 22:34:19 +00:00
Linker Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a lame API. 2009-11-10 00:43:58 +00:00
MC Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Support Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a lame API. 2009-11-10 00:43:58 +00:00
System Revert commit 81144, and add a comment. It caused bugpoint timeouts 2009-11-08 20:55:48 +00:00
Target Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
Transforms Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
VMCore Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00