llvm/unittests
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
..
ADT Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
ExecutionEngine Remove dlsym stubs, with Nate Begeman's permission. 2009-11-09 22:34:19 +00:00
Support Type.h doesn't need to #include LLVMContext.h 2009-10-27 17:08:31 +00:00
Transforms Factor out redundancy from clone() implementations. 2009-10-27 22:16:29 +00:00
VMCore Type.h doesn't need to #include LLVMContext.h 2009-10-27 17:08:31 +00:00
Makefile New unit test for the cloning module, which so far only covers cloning of 2009-09-27 21:39:46 +00:00
Makefile.unittest Remove / use flags that are now set in the Makefile.config. 2009-10-26 20:01:35 +00:00