llvm-project/llvm/unittests/ADT
Steven Wu 347d4d7323 [ADT] Fix Optional<> with llvm::is_trivially_move_constructible
Fix the compatibility of Optional<> with some GCC versions that it will fail
to compile when T is getting checked for `is_trivially_move_constructible`
as mentioned here: https://reviews.llvm.org/D93510#2538983

Fix the problem by using `llvm::is_trivially_move_constructible`.

Reviewed By: jplayer-nv, tatyana-krasnukha

Differential Revision: https://reviews.llvm.org/D117254
2022-01-18 08:37:43 -08:00
..
APFixedPointTest.cpp
APFloatTest.cpp [APFloat] convertToDouble/Float can work on shorter types 2021-05-21 11:02:51 +07:00
APIntTest.cpp [ADT] Remove 0-width Asserts in APInt.getZExtValue 2021-11-30 17:03:12 -05:00
APSIntTest.cpp
AnyTest.cpp
ArrayRefTest.cpp
BitFieldsTest.cpp
BitVectorTest.cpp Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
BitmaskEnumTest.cpp
BreadthFirstIteratorTest.cpp
BumpPtrListTest.cpp
CMakeLists.txt [NFC] Move CombinationGenerator from Exegesis to ADT 2021-11-05 16:53:46 +03:00
CoalescingBitVectorTest.cpp
CombinationGeneratorTest.cpp [NFC] Move CombinationGenerator from Exegesis to ADT 2021-11-05 16:53:46 +03:00
DAGDeltaAlgorithmTest.cpp
DeltaAlgorithmTest.cpp
DenseMapTest.cpp [llvm] Add a SFINAE template parameter to DenseMapInfo 2021-11-16 18:54:14 +00:00
DenseSetTest.cpp Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
DepthFirstIteratorTest.cpp
DirectedGraphTest.cpp
EnumeratedArrayTest.cpp
EquivalenceClassesTest.cpp [adt] Fix compiler warning in test 2021-12-15 16:13:24 +09:00
FallibleIteratorTest.cpp
FloatingPointMode.cpp
FoldingSet.cpp
FunctionExtrasTest.cpp [ADT] Extend EnableIfCallable for callables with incomplete returns 2021-09-13 19:16:16 +00:00
FunctionRefTest.cpp
HashingTest.cpp [Support] Automatically support `hash_value` when `HashBuilder` support is available. 2021-09-07 09:56:11 -07:00
IListBaseTest.cpp Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
IListIteratorTest.cpp
IListNodeBaseTest.cpp
IListNodeTest.cpp
IListSentinelTest.cpp
IListTest.cpp
ImmutableListTest.cpp [RGT] Recode more unreachable assertions and tautologies 2021-03-19 09:17:22 -07:00
ImmutableMapTest.cpp
ImmutableSetTest.cpp [ADT] Remove ImmutableSet::foreach and ImmutableMap::foreach (NFC) 2022-01-01 22:05:14 -08:00
IntEqClassesTest.cpp
IntervalMapTest.cpp
IntrusiveRefCntPtrTest.cpp Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
IteratorTest.cpp ADT: Fix const-correctness of iterator facade 2021-11-12 20:41:47 -08:00
MapVectorTest.cpp Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
MappedIteratorTest.cpp [mlir] Optimize usage of llvm::mapped_iterator 2021-11-11 03:26:29 +00:00
OptionalTest.cpp [ADT] Fix Optional<> with llvm::is_trivially_move_constructible 2022-01-18 08:37:43 -08:00
PackedVectorTest.cpp
PointerEmbeddedIntTest.cpp
PointerIntPairTest.cpp
PointerSumTypeTest.cpp
PointerUnionTest.cpp
PostOrderIteratorTest.cpp [ADT] Update RPOT to work with specializations of different types. 2021-04-17 20:45:04 +01:00
PriorityWorklistTest.cpp Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
RangeAdapterTest.cpp Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
SCCIteratorTest.cpp
STLExtrasTest.cpp [ADT] Add new type traits for type pack indexes 2021-12-15 19:25:14 +00:00
STLForwardCompatTest.cpp Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
ScopeExitTest.cpp
SequenceTest.cpp Make enum iteration with seq safe by default 2021-11-03 20:52:21 -04:00
SetVectorTest.cpp
SimpleIListTest.cpp
SmallPtrSetTest.cpp Allow SmallPtrSet to be used with a std::insert_iterator 2021-02-05 16:12:47 -05:00
SmallSetTest.cpp
SmallStringTest.cpp [llvm] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
SmallVectorTest.cpp ADT: Add SmallVectorImpl::truncate() to replace uses of set_size() 2021-12-08 13:57:48 -08:00
SparseBitVectorTest.cpp
SparseMultiSetTest.cpp
SparseSetTest.cpp
StatisticTest.cpp
StringExtrasTest.cpp [ADT] Simplifying hex string parsing so it runs faster in debug modes. 2021-11-03 20:31:20 -07:00
StringMapTest.cpp Reland "Try to unbreak Win build differently after 973519826edb76"" 2021-09-02 16:19:58 -07:00
StringRefTest.cpp ADT: Make StringRef::size() and StringRef::empty() constexpr 2021-12-08 16:15:33 -08:00
StringSetTest.cpp
StringSwitchTest.cpp
TestGraph.h
TinyPtrVectorTest.cpp Put back the trailing commas on TYPED_TEST_SUITE 2021-05-17 14:14:13 +02:00
TripleTest.cpp Revert "Revert "Use VersionTuple for parsing versions in Triple, fixing issues that caused the original change to be reverted. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible."" 2021-12-07 23:15:21 +00:00
TwineTest.cpp Consolidate string types into ptr and length representations. 2021-07-20 13:29:57 -07:00
TypeSwitchTest.cpp [mlir] Add support for walking locations similarly to Operations 2021-04-15 16:09:34 -07:00
TypeTraitsTest.cpp
WaymarkingTest.cpp