1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/include/llvm/ADT
David Blaikie 6bae49b565 PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static constexpr rather than anonymous enum
This is (more?) usable by GDB pretty printers and seems nicer to write.

There's one tricky caveat that in C++14 (LLVM's codebase today) the
static constexpr member declaration is not a definition - so odr use of
this constant requires an out of line definition, which won't be
provided (that'd make all these trait classes more annoyidng/expensive
to maintain). But the use of this constant in the library implementation
is/should always be in a non-odr context - only two unit tests needed to
be touched to cope with this/avoid odr using these constants.

Based on/expanded from D72590 by Christian Sigg.
2020-01-16 15:30:50 -08:00
..
AllocatorList.h
Any.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
APFloat.h [APFloat] Fix fusedMultiplyAdd when this equals to Addend 2020-01-07 08:45:18 +02:00
APInt.h [APInt][PatternMatch] Add 'is non-positive' predicate 2019-12-03 21:34:12 +03:00
APSInt.h [APSInt][OpenMP] Fix isNegative, etc. for unsigned types 2019-04-23 17:04:15 +00:00
ArrayRef.h [cmake] Disable GCC 9's -Winit-list-lifetime warning in ArrayRef 2019-11-19 17:26:57 +01:00
bit.h
BitmaskEnum.h
BitVector.h [BitVector] Define BitWord as uintptr_t 2019-10-29 13:53:04 +00:00
BreadthFirstIterator.h
CachedHashString.h
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h [ADT] Fix SmallDenseMap assertion with large InlineBuckets 2019-12-11 21:41:14 +01:00
DenseMapInfo.h [clangd] Use our own relation kind. 2019-10-17 14:08:28 +00:00
DenseSet.h NFC: Change usage of 'DenseSet' to 'DenseSetImpl' in DenseSetImpl::ConstIterator. 2019-05-27 17:38:41 +00:00
DepthFirstIterator.h
DirectedGraph.h [DirectedGraph]: Add setTargetNode member function 2019-11-11 03:36:23 +00:00
edit_distance.h
EnumeratedArray.h [DDG] Data Dependence Graph - Pi Block 2019-11-08 15:46:08 -05:00
EpochTracker.h
EquivalenceClasses.h
fallible_iterator.h
FloatingPointMode.h Work on cleaning up denormal mode handling 2019-11-19 22:01:14 +05:30
FoldingSet.h [ADT] Fix FoldingSet documentation typos 2019-12-27 21:27:59 -05:00
FunctionExtras.h
GraphTraits.h
Hashing.h Hashing - fix uninitialized variable warnings. NFCI. 2019-11-08 14:46:22 +00:00
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 ImutAVLTree::validateTree - fix null dereference typo warning. NFCI. 2019-11-07 18:42:01 +00:00
IndexedMap.h
IntEqClasses.h
IntervalMap.h PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static constexpr rather than anonymous enum 2020-01-16 15:30:50 -08:00
IntrusiveRefCntPtr.h
iterator_range.h [ADT] Move drop_begin from iterator_range.h into STLExtras. 2019-11-14 08:10:59 -08:00
iterator.h Revert "Temporarily Revert "[gicombiner] Add the MatchDag structure and parse instruction DAG's from the input"" 2019-12-18 11:37:12 +00:00
MapVector.h
None.h
Optional.h Add Optional::map. 2019-12-16 13:34:00 -05:00
PackedVector.h
PointerEmbeddedInt.h PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static constexpr rather than anonymous enum 2020-01-16 15:30:50 -08:00
PointerIntPair.h PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static constexpr rather than anonymous enum 2020-01-16 15:30:50 -08:00
PointerSumType.h
PointerUnion.h Removed PointerUnion3 and PointerUnion4 aliases in favor of the variadic template 2020-01-14 18:56:29 +01:00
PostOrderIterator.h
PriorityQueue.h
PriorityWorklist.h
SCCIterator.h SCC: Allow ReplaceNode to safely support insertion 2020-01-14 10:30:24 -08:00
ScopedHashTable.h
ScopeExit.h
Sequence.h
SetOperations.h
SetVector.h
simple_ilist.h
SmallBitVector.h [SmallBitVector] Fix bug in find_next_unset for small types with indices >=32 2019-07-21 16:06:26 +00:00
SmallPtrSet.h [ADT] Add equality operator for SmallPtrSet 2019-11-06 11:17:51 +07:00
SmallSet.h [ADT] add equality operator for SmallSet 2019-10-29 17:33:57 -07:00
SmallString.h
SmallVector.h [ADT] Move to_vector from STLExtras.h to SmallVector.h 2019-11-20 16:35:19 -08:00
SparseBitVector.h
SparseMultiSet.h
SparseSet.h
Statistic.h Statistic - Fix MSVC shadow warning against global PrintOnExit static variable. NFC. 2019-11-21 12:08:01 +00:00
STLExtras.h Reland 'Fixed -Wdeprecated-copy warnings. NFCI.' 2019-11-23 23:09:39 +01:00
StringExtras.h Fix MSVC unreferenced formal parameter warning. NFCI. 2019-09-01 16:04:38 +00:00
StringMap.h ADT: Save a word in every StringSet entry 2019-10-10 20:22:53 +00:00
StringRef.h [APFloat] Fix checked error assert failures 2020-01-09 09:42:32 +02:00
StringSet.h ADT: Save a word in every StringSet entry 2019-10-10 20:22:53 +00:00
StringSwitch.h Revert "Forward declare Optional<T> in STLExtras.h" 2019-11-13 16:36:21 -08:00
TinyPtrVector.h Add TinyPtrVector support for general pointer-like things. 2019-08-20 23:29:28 +00:00
Triple.h [VE] Target stub for NEC SX-Aurora 2020-01-09 11:17:35 +01:00
Twine.h Twine - fix uninitialized variable warnings. NFCI. 2019-11-10 11:21:43 +00:00
UniqueVector.h