llvm-6502/include/llvm/ADT
Rafael Espindola 7fe65d691d Cleanup the simplify_type implementation.
As far as simplify_type is concerned, there are 3 kinds of smart pointers:

* const correct: A 'const MyPtr<int> &' produces a 'const int*'. A
'MyPtr<int> &' produces a 'int *'.
* always const: Even a 'MyPtr<int> &' produces a 'const int*'.
* no const: Even a 'const MyPtr<int> &' produces a 'int*'.

This patch then does the following:

* Removes the unused specializations. Since they are unused, it is hard
to know which kind should be implemented.
* Make sure we don't drop const.
* Fix the default forwarding so that const correct pointer only need
one specialization.
* Simplifies the existing specializations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178147 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-27 16:43:11 +00:00
..
APFloat.h Use LLVM_DELETED_FUNCTION rather than '// do not implement' comments. 2013-02-18 23:11:17 +00:00
APInt.h Switching -1ULL to UINT64_MAX to fix MSVC warnings. Patch thanks to Peng Cheng! 2013-02-27 18:38:33 +00:00
APSInt.h Use pre-inc, pre-dec when possible. 2013-03-20 23:56:19 +00:00
ArrayRef.h ArrayRef reverse iterators. 2013-01-25 06:33:52 +00:00
BitVector.h
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h Remove unnecessary condtional assignment. The next line ignores the result of the assignment with the same condition. 2013-02-13 07:44:17 +00:00
DenseMapInfo.h
DenseSet.h Make comment a bit more clear. 2013-01-04 17:59:17 +00:00
DepthFirstIterator.h
edit_distance.h
EquivalenceClasses.h
FoldingSet.h
GraphTraits.h
Hashing.h
ilist_node.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ilist.h Cleanup the simplify_type implementation. 2013-03-27 16:43:11 +00:00
ImmutableIntervalMap.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ImmutableList.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ImmutableMap.h Add missing typename to unbreak the MSVC 2012 build. 2013-02-14 03:24:14 +00:00
ImmutableSet.h Add missing typename to unbreak the MSVC 2012 build. 2013-02-14 03:24:14 +00:00
IndexedMap.h
InMemoryStruct.h
IntEqClasses.h
IntervalMap.h
IntrusiveRefCntPtr.h Cleanup the simplify_type implementation. 2013-03-27 16:43:11 +00:00
MapVector.h Remove my bogus MapVector::erase() with a narrower ::pop_back(), and add a unit test. 2013-02-19 18:26:07 +00:00
None.h Correct spelling of 'enumerator'. 2013-02-21 06:08:22 +00:00
NullablePtr.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
Optional.h Cleanup the simplify_type implementation. 2013-03-27 16:43:11 +00:00
OwningPtr.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
PackedVector.h
PointerIntPair.h
PointerUnion.h
PostOrderIterator.h Add std prefixes to fix the build with xlc. 2013-03-20 21:00:22 +00:00
PriorityQueue.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
SCCIterator.h
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallBitVector.h Use NumBaseBits in a few more places in SmallBitVector instead of recalculating it. No functional change. 2013-03-15 06:01:42 +00:00
SmallPtrSet.h
SmallSet.h
SmallString.h Another test commit. Remove trailing whitespace. 2013-02-26 19:33:48 +00:00
SmallVector.h Add asserts to SmallVector so that calls to front() and back() only succeed 2013-01-24 04:29:24 +00:00
SparseBitVector.h
SparseMultiSet.h SparseMultiSet.h: Add suggested parentheses. 2013-01-22 05:41:57 +00:00
SparseSet.h
Statistic.h Disable statistics on Release builds and move tests that depend on -stats. 2013-03-08 22:56:31 +00:00
STLExtras.h
StringExtras.h Add llvm::hexDigitValue to convert single characters to hex. 2013-01-18 21:45:30 +00:00
StringMap.h Clear the whole table including the tombstones, since the tombstone count will 2013-02-21 21:32:00 +00:00
StringRef.h Test commit. Remove trailing whitespace. 2013-02-26 19:18:06 +00:00
StringSet.h [ADT] Fix StringSet::insert() to not allocate on every lookup. 2013-03-15 20:16:59 +00:00
StringSwitch.h
TinyPtrVector.h
Triple.h Add AArch64 as an experimental target. 2013-01-31 12:12:40 +00:00
Twine.h
UniqueVector.h
ValueMap.h
VariadicFunction.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00