1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/include/llvm/ADT
Scott Linder 93375cf94f [ADT] Add makeVisitor to STLExtras.h
Relands patch reverted by 61242c0addb120294211d24a97ed89837418cb36
The original patch mistakenly included unrelated tests.

Adds a utility to combine multiple Callables into a single Callable.
This is useful to make constructing a visitor for `std::visit`-like
functions more natural; functions like this will be added in future
patches.

Intended to supercede https://reviews.llvm.org/D99560 by
perfectly-forwarding the combined Callables.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D100670
2021-06-28 20:07:11 +00:00
..
AllocatorList.h
Any.h Force visibility of llvm::Any to external 2021-05-20 10:06:00 +02:00
APFixedPoint.h
APFloat.h [APFloat] convertToDouble/Float can work on shorter types 2021-05-21 11:02:51 +07:00
APInt.h APInt.h - add missing <utility> header. 2021-06-11 13:35:12 +01:00
APSInt.h [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
ArrayRef.h [ADT] Move DenseMapInfo for ArrayRef/StringRef into respective headers (NFC) 2021-06-03 18:34:36 +02:00
bit.h
Bitfields.h
BitmaskEnum.h
BitVector.h Use SmallVector instead of std::vector to manage storage of llvm::BitVector 2021-04-21 07:31:28 +02:00
BreadthFirstIterator.h BreadthFirstIterator.h - fix uninitialized variable warning in default constructor. NFCI. 2021-06-06 14:13:08 +01:00
CachedHashString.h
CoalescingBitVector.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h
DenseMapInfo.h [ADT] Move DenseMapInfo for ArrayRef/StringRef into respective headers (NFC) 2021-06-03 18:34:36 +02:00
DenseSet.h
DepthFirstIterator.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
DirectedGraph.h
edit_distance.h
EnumeratedArray.h
EpochTracker.h
EquivalenceClasses.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
fallible_iterator.h
FloatingPointMode.h
FoldingSet.h
FunctionExtras.h Allow incomplete template types in unique_function arguments 2021-05-21 14:09:33 +07:00
GraphTraits.h
Hashing.h Revert "[Support] Don't include <algorithm> in Hashing.h" 2021-04-16 12:17:42 -04: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 Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
IndexedMap.h
IntEqClasses.h
IntervalMap.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
IntrusiveRefCntPtr.h [NFC] Fix "unused parameter" error revealed in the Linux self-build. 2021-03-15 12:17:11 -04:00
iterator_range.h
iterator.h [ADT] Don't include <algorithm> in iterator.h 2021-04-16 12:21:08 -04:00
MapVector.h
None.h
Optional.h [ADT] Factor out in_place_t and expose in Optional ctor 2021-05-17 22:25:39 +00:00
PackedVector.h
PointerEmbeddedInt.h
PointerIntPair.h
PointerSumType.h
PointerUnion.h Revert "[ADT] Add new type traits for type pack indexes" 2021-05-17 20:26:59 -07:00
PostOrderIterator.h [ADT] Update RPOT to work with specializations of different types. 2021-04-17 20:45:04 +01:00
PriorityQueue.h
PriorityWorklist.h
SCCIterator.h
ScopedHashTable.h
ScopeExit.h
Sequence.h [llvm] remove Sequence::asSmallVector() 2021-06-14 08:28:05 +00:00
SetOperations.h [NFC] Fix a compiler warning 2021-03-10 13:28:53 -08:00
SetVector.h
simple_ilist.h
SmallBitVector.h
SmallPtrSet.h
SmallSet.h
SmallString.h [llvm] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
SmallVector.h SmallVector.h - remove unused MathExtras.h header. NFCI. 2021-06-06 12:05:39 +01:00
SparseBitVector.h
SparseMultiSet.h Replace uses of std::iterator with explicit using 2021-04-12 10:47:14 -07:00
SparseSet.h
Statistic.h [ADT] Make TrackingStatistic's ctor constexpr 2021-04-28 12:00:17 +02:00
STLExtras.h [ADT] Add makeVisitor to STLExtras.h 2021-06-28 20:07:11 +00:00
STLForwardCompat.h [ADT] Factor out in_place_t and expose in Optional ctor 2021-05-17 22:25:39 +00:00
StringExtras.h [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
StringMap.h
StringMapEntry.h [ADT] Use unnamed argument for unused arg in StringMapEntryStorage. 2021-06-14 15:54:57 +01:00
StringRef.h [ADT] Complete the StringRef case insensitive method renaming 2021-06-25 00:22:02 +03:00
StringSet.h
StringSwitch.h [llvm] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
TinyPtrVector.h
Triple.h [X32] Add Triple::isX32(), use it. 2021-06-07 20:48:39 +01:00
Twine.h Add Twine support for std::string_view. 2021-06-08 20:19:04 -07:00
TypeSwitch.h [mlir] Add support for walking locations similarly to Operations 2021-04-15 16:09:34 -07:00
UniqueVector.h
Waymarking.h [NFC] Remove variable that was set but not used. 2021-06-02 13:20:32 -05:00