1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm/ADT
Eric Fiselier d3b507dfd6 [ADT] Fix MapVector when 'Map::mapped_type != unsigned'.
Previously MapVector assumed `Map::mapped_type` was `unsigned`.
This caused problems when using MapVector with a user-specified
map where this didn't hold (For example StringMap<unsigned>).

This patch adjusts MapVector to use the same type as the underlying
map, avoiding reference binding errors in functions like `insert`.

llvm-svn: 329523
2018-04-08 08:48:58 +00:00
..
AllocatorList.h
APFloat.h [aarch64] Support APInt and APFloat in ImmLeaf subclasses and make AArch64 use them. 2017-10-13 20:42:18 +00:00
APInt.h Fixed spelling mistake. NFCI. 2018-01-08 17:16:59 +00:00
APSInt.h
ArrayRef.h Revert "Add a value_type to ArrayRef." 2018-01-18 07:26:34 +00:00
BitmaskEnum.h
BitVector.h Report fatal error in the case of out of memory 2018-02-20 05:41:26 +00:00
BreadthFirstIterator.h
CachedHashString.h
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h DenseMap.h:capacity_in_bytes Don't mark header functions as file-scope static 2017-10-24 17:29:11 +00:00
DenseMapInfo.h
DenseSet.h
DepthFirstIterator.h
edit_distance.h
EpochTracker.h
EquivalenceClasses.h [NFC] Add missing unit tests for EquivalenceClasses 2017-11-27 11:20:58 +00:00
FoldingSet.h [ADT] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-10-28 00:24:26 +00:00
GraphTraits.h [GraphTraits] Add support for iterating over children edges. 2018-02-01 18:53:23 +00:00
Hashing.h
ilist_base.h
ilist_iterator.h
ilist_node_base.h
ilist_node_options.h
ilist_node.h
ilist.h
ImmutableList.h
ImmutableMap.h
ImmutableSet.h
IndexedMap.h
IntEqClasses.h
IntervalMap.h
IntrusiveRefCntPtr.h
iterator_range.h
iterator.h fix 80 column violation. 2017-09-29 22:46:22 +00:00
MapVector.h [ADT] Fix MapVector when 'Map::mapped_type != unsigned'. 2018-04-08 08:48:58 +00:00
None.h
Optional.h [ADT] Make moving Optional not reset the Optional it moves from. 2018-01-25 17:24:22 +00:00
PackedVector.h
PointerEmbeddedInt.h PointerLikeTypeTraits: class->struct & remove the base definition 2017-08-09 18:34:21 +00:00
PointerIntPair.h [ADT] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-10-28 00:24:26 +00:00
PointerSumType.h [ADT] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-10-28 00:24:26 +00:00
PointerUnion.h Use branch funnels for virtual calls when retpoline mitigation is enabled. 2018-03-09 19:11:44 +00:00
PostOrderIterator.h
PriorityQueue.h
PriorityWorklist.h
SCCIterator.h
ScopedHashTable.h
ScopeExit.h Give scope_exit helper correct move semantics 2018-01-25 16:55:48 +00:00
Sequence.h
SetOperations.h
SetVector.h
simple_ilist.h
SmallBitVector.h
SmallPtrSet.h [SmallPtrSet] Add iterator epoch tracking. 2017-10-13 20:37:52 +00:00
SmallSet.h
SmallString.h
SmallVector.h SmallVector: fix use-after-poison MSAN error in destructor 2018-01-10 23:53:11 +00:00
SparseBitVector.h
SparseMultiSet.h Report fatal error in the case of out of memory 2018-02-20 05:41:26 +00:00
SparseSet.h Report fatal error in the case of out of memory 2018-02-20 05:41:26 +00:00
Statistic.h Support resetting STATISTIC() values using llvm::ResetStatistics() 2018-03-08 02:36:25 +00:00
STLExtras.h [ADT] Shuffle containers before sorting to uncover non-deterministic behavior 2018-03-10 18:59:14 +00:00
StringExtras.h Re-land: "[Support] Replace HashString with djbHash." 2018-02-26 15:16:42 +00:00
StringMap.h Use size_t to represent the size of a StringMapEntry length and alignment rather than unsigned. 2018-01-11 18:47:15 +00:00
StringRef.h [ADT] Simplify and optimize StringSwitch 2018-02-26 18:41:26 +00:00
StringSet.h
StringSwitch.h [ADT] NFC: Fix bogus StringSwitch rule-of-five boilerplate 2018-03-29 16:51:28 +00:00
TinyPtrVector.h Ensure moved-from container is cleared on move 2017-12-11 19:22:59 +00:00
Triple.h [AMDGPU] Remove use of OpenCL triple environment and replace with function attribute for AMDGPU 2018-03-23 18:45:18 +00:00
Twine.h [ADT] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-10-28 00:24:26 +00:00
UniqueVector.h
VariadicFunction.h