llvm-6502/include/llvm/Support
Howard Hinnant aab2305454 Seciton 24.2.2 of the C++ standard, [iterator.iterators], Table 106
requires that the return type of *r for all iterators r be reference,
where reference is defined in [iterator.requirements.general]/p11 as
iterator_traits<X>::reference, and X is the type of r.

But in CFG.h, the dereference operator of PredIterator and SuccIterator
return pointer, not reference.

Furthermore the nested type reference is value_type&, which is not the
type returned from operator*().

This patch simply makes the iterator::reference type value_type*, which
is what the operator*() returns, and then re-lables the return type as
reference.

From a functionality point of view, the only difference is that the
nested reference type is now value_type* instead of value_type&.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178240 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-28 15:47:50 +00:00
..
AIXDataTypesFix.h
AlignOf.h
Allocator.h
ArrayRecycler.h
Atomic.h
BlockFrequency.h
BranchProbability.h
CallSite.h
Capacity.h
Casting.h
CFG.h Seciton 24.2.2 of the C++ standard, [iterator.iterators], Table 106 2013-03-28 15:47:50 +00:00
circular_raw_ostream.h
CodeGen.h
COFF.h
CommandLine.h
Compiler.h
ConstantFolder.h
ConstantRange.h
ConvertUTF.h
CrashRecoveryContext.h
DataExtractor.h
DataFlow.h
DataStream.h
DataTypes.h.cmake
DataTypes.h.in
Debug.h
DebugLoc.h
Disassembler.h
DOTGraphTraits.h
Dwarf.h
DynamicLibrary.h
ELF.h
Endian.h
Errno.h
ErrorHandling.h Add a boolean parameter to the llvm::report_fatal_error() function to indicated 2013-03-27 18:27:54 +00:00
ErrorOr.h
FEnv.h
FileOutputBuffer.h
FileSystem.h
FileUtilities.h
Format.h
FormattedStream.h
GCOV.h
GetElementPtrTypeIterator.h
GraphWriter.h
Host.h
IncludeFile.h
InstIterator.h
IntegersSubset.h
IntegersSubsetMapping.h
LeakDetector.h
LEB128.h
LICENSE.TXT
Locale.h
LockFileManager.h
MachO.h
ManagedStatic.h
MathExtras.h
Memory.h
MemoryBuffer.h
MemoryObject.h
Mutex.h
MutexGuard.h
NoFolder.h
OutputBuffer.h
PassNameParser.h
Path.h
PathV1.h
PathV2.h
PatternMatch.h
PluginLoader.h
PointerLikeTypeTraits.h
PredIteratorCache.h
PrettyStackTrace.h
Process.h
Program.h
raw_os_ostream.h
raw_ostream.h
Recycler.h
RecyclingAllocator.h
Regex.h
Registry.h
RegistryParser.h
RWMutex.h
SaveAndRestore.h
Signals.h
SMLoc.h
Solaris.h
SourceMgr.h
StreamableMemoryObject.h
StringPool.h
SwapByteOrder.h
system_error.h
SystemUtils.h
TargetFolder.h
TargetRegistry.h
TargetSelect.h
Threading.h
ThreadLocal.h
Timer.h
TimeValue.h
ToolOutputFile.h
type_traits.h
Valgrind.h
ValueHandle.h
Watchdog.h
Win64EH.h
YAMLParser.h
YAMLTraits.h