llvm-6502/include/llvm/Support
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
..
AlignOf.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
Allocator.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
CallSite.h back out my recent commit (r80858), it seems to break self-hosting buildbot's stage 2 configure 2009-09-03 02:02:59 +00:00
Casting.h convert LoopInfo.h and GraphWriter.h to use raw_ostream 2009-08-23 07:19:13 +00:00
CFG.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
CommandLine.h Move llvm:🆑:opt's conversion function into the base classes that 2009-11-05 18:30:50 +00:00
Compiler.h Use __attribute__((__used__)) if GCC >= 3.1 (seems to be the oldest GCC 2009-09-17 23:27:10 +00:00
ConstantFolder.h InstrTypes.h includes Instruction.h, so it's not necessary to include both. 2009-11-05 19:42:20 +00:00
ConstantRange.h add zextOrTrunc and sextOrTrunc methods, that are similar to the ones in APInt 2009-11-09 15:36:28 +00:00
DataFlow.h Make dataflow iteration possible on Value*, not only on User*: df_ext_iterator<Value*, SmallPtrSet<const Value*, 16> > 2009-04-30 17:09:22 +00:00
Debug.h add a new 'SetCurrentDebugType' API (requested by Andrew Haley for JIT 2009-10-28 15:32:19 +00:00
DebugLoc.h Delete bogus semicolons. 2009-10-14 20:39:01 +00:00
DOTGraphTraits.h Get rid of the global CFGOnly flag by threading a ShortNames parameters through the GraphViz rendering code. 2009-06-24 17:37:09 +00:00
Dwarf.h Fix a bug where the DWARF emitter in the JIT was not initializing alignment 2009-08-21 21:03:57 +00:00
DynamicLinker.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ELF.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
ErrorHandling.h Add some comments clarifying what appear to be the intent of various 2009-08-20 01:46:24 +00:00
FileUtilities.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
Format.h Make a few headers standalone. Plus, add a missing "template" keyword 2009-11-05 13:30:28 +00:00
FormattedStream.h Revert "Don't allow formatted_ostream to be unbuffered, even if its underlying 2009-09-22 16:33:42 +00:00
GetElementPtrTypeIterator.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
GraphWriter.h A few more tabs -> spaces. 2009-09-20 04:03:25 +00:00
InstIterator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
InstVisitor.h rename indbr -> indirectbr to appease the residents of #llvm. 2009-10-28 00:19:10 +00:00
IRBuilder.h make IRBuilder zap "X|0" and "X&-1" when building IR, this happens 2009-11-04 05:00:12 +00:00
IRReader.h Use MemoryBuffer::getBufferIdentifier() in the AsmPrinter instead 2009-09-08 22:20:35 +00:00
LeakDetector.h Make a few headers standalone. Plus, add a missing "template" keyword 2009-11-05 13:30:28 +00:00
ManagedStatic.h Resolve undefined behaviour when ManagedStatic is instantiated with a fixed-length array type. 2009-07-09 17:26:16 +00:00
Mangler.h Allow symbols to start from the digit if target requests it. This allows, e.g. pinning 2009-09-18 16:57:42 +00:00
MathExtras.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
MemoryBuffer.h Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a lame API. 2009-11-10 00:43:58 +00:00
MemoryObject.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
MutexGuard.h Tidy up #includes, deleting a bunch of unnecessary #includes. 2009-01-05 17:59:02 +00:00
NoFolder.h For the NSWSub support in the builder to actually be useable, 2009-09-26 15:35:35 +00:00
OutputBuffer.h Make a few headers standalone. Plus, add a missing "template" keyword 2009-11-05 13:30:28 +00:00
PassNameParser.h Make a few headers standalone. Plus, add a missing "template" keyword 2009-11-05 13:30:28 +00:00
PatternMatch.h add a helper for matching "1". 2009-10-11 07:51:25 +00:00
PluginLoader.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
PointerLikeTypeTraits.h lang points out that the comment is out of date with the code. 2009-10-27 04:58:10 +00:00
PredIteratorCache.h Add caching of predecessor counts as well as predecessors themselves. 2009-04-22 08:46:33 +00:00
PrettyStackTrace.h add a knob to turn off PrettyStackTrace globally. Patch by Zoltan 2009-07-16 06:17:45 +00:00
raw_os_ostream.h split raw_os_ostream out to its own header and implementation file. This 2009-08-24 04:02:06 +00:00
raw_ostream.h Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Recycler.h Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
RecyclingAllocator.h Make a few headers standalone. Plus, add a missing "template" keyword 2009-11-05 13:30:28 +00:00
Regex.h remove support for "NoSub" from regex. It seems like a minor optimization 2009-09-26 21:27:04 +00:00
Registry.h Remove unneeded declaration, as warned about by 2009-09-06 07:23:28 +00:00
RegistryParser.h Registry.h should not depend on CommandLine.h. 2009-01-16 07:02:28 +00:00
SlowOperationInformer.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
SourceMgr.h add a trivial line # cache to SourceMgr to make repeated queries to 2009-08-11 17:49:14 +00:00
StableBasicBlockNumbering.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
StandardPasses.h turn IPSCCP back on by default, try #3 or 4? Woo. 2009-11-03 19:35:13 +00:00
StringPool.h Convert StringMap to using StringRef for its APIs. 2009-07-23 18:17:34 +00:00
SystemUtils.h eliminate the ostream version of CheckBitcodeOutputToConsole, 2009-08-23 21:36:09 +00:00
TargetFolder.h remove some more Context arguments. 2009-11-06 05:59:53 +00:00
Timer.h Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
type_traits.h Fix DenseMap iterator constness. 2009-11-10 01:02:17 +00:00
TypeBuilder.h Make TypeBuilder's result depend on the LLVMContext it's passed. 2009-09-09 05:04:01 +00:00
ValueHandle.h Clean up the JITResolver stub/callsite<->function maps. 2009-10-19 18:49:59 +00:00