llvm-mirror/unittests/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
..
AnyTest.cpp
APFloatTest.cpp [APFloat] Fix checked error assert failures 2020-01-09 09:42:32 +02:00
APIntTest.cpp [APInt][PatternMatch] Add 'is non-positive' predicate 2019-12-03 21:34:12 +03:00
APSIntTest.cpp Fix build when both gtest death tests and LLVM_NODISCARD are available. 2019-07-31 23:37:24 +00:00
ArrayRefTest.cpp [ADR] ArrayRefTest: disable SizeTSizedOperations test - it's UB. 2019-10-10 12:22:33 +00:00
BitmaskEnumTest.cpp
BitVectorTest.cpp [PowerPC][NFC] Enable ADT BitVectorTest 2019-08-02 19:58:00 +00:00
BreadthFirstIteratorTest.cpp
BumpPtrListTest.cpp
CMakeLists.txt Work on cleaning up denormal mode handling 2019-11-19 22:01:14 +05:30
DAGDeltaAlgorithmTest.cpp
DeltaAlgorithmTest.cpp
DenseMapTest.cpp [ADT] Fix SmallDenseMap assertion with large InlineBuckets 2019-12-11 21:41:14 +01:00
DenseSetTest.cpp
DepthFirstIteratorTest.cpp
DirectedGraphTest.cpp
EnumeratedArrayTest.cpp [DDG] Data Dependence Graph - Pi Block 2019-11-08 15:46:08 -05:00
EquivalenceClassesTest.cpp
FallibleIteratorTest.cpp
FloatingPointMode.cpp Work on cleaning up denormal mode handling 2019-11-19 22:01:14 +05:30
FoldingSet.cpp
FunctionExtrasTest.cpp
FunctionRefTest.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
HashingTest.cpp
IListBaseTest.cpp
IListIteratorTest.cpp
IListNodeBaseTest.cpp
IListNodeTest.cpp
IListSentinelTest.cpp
IListTest.cpp
ImmutableListTest.cpp
ImmutableMapTest.cpp
ImmutableSetTest.cpp
IntEqClassesTest.cpp
IntervalMapTest.cpp
IntrusiveRefCntPtrTest.cpp
IteratorTest.cpp [ADT] Move drop_begin from iterator_range.h into STLExtras. 2019-11-14 08:10:59 -08:00
MakeUniqueTest.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
MappedIteratorTest.cpp
MapVectorTest.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
OptionalTest.cpp Revert rL368939 "Remove LVALUE / RVALUE workarounds" 2019-08-15 10:12:11 +00:00
PackedVectorTest.cpp
PointerEmbeddedIntTest.cpp PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static constexpr rather than anonymous enum 2020-01-16 15:30:50 -08:00
PointerIntPairTest.cpp PointerLikeTypeTraits: Standardize NumLowBitsAvailable on static constexpr rather than anonymous enum 2020-01-16 15:30:50 -08:00
PointerSumTypeTest.cpp
PointerUnionTest.cpp Removed PointerUnion3 and PointerUnion4 aliases in favor of the variadic template 2020-01-14 18:56:29 +01:00
PostOrderIteratorTest.cpp
PriorityWorklistTest.cpp
RangeAdapterTest.cpp
SCCIteratorTest.cpp
ScopeExitTest.cpp
SequenceTest.cpp
SetVectorTest.cpp
SimpleIListTest.cpp
SmallPtrSetTest.cpp [ADT] Add equality operator for SmallPtrSet 2019-11-06 11:17:51 +07:00
SmallSetTest.cpp [ADT] add equality operator for SmallSet 2019-10-29 17:33:57 -07:00
SmallStringTest.cpp reland [gtest] Fix printing of StringRef and SmallString in assert messages. 2019-08-21 13:56:29 +00:00
SmallVectorTest.cpp
SparseBitVectorTest.cpp
SparseMultiSetTest.cpp
SparseSetTest.cpp
StatisticTest.cpp [ADT][Statistics] Fix test after rL374490 2019-10-11 07:19:54 +00:00
STLExtrasTest.cpp [ADT] Move drop_begin from iterator_range.h into STLExtras. 2019-11-14 08:10:59 -08:00
StringExtrasTest.cpp Print quoted backslashes in LLVM IR as \\ instead of \5C 2019-10-10 18:31:57 +00:00
StringMapTest.cpp [ADT] Add StringMap::insert_or_assign 2019-09-25 04:58:02 +00:00
StringRefTest.cpp [polly][Support] Un-break polly tests 2020-01-01 17:29:04 -05:00
StringSetTest.cpp
StringSwitchTest.cpp
TestGraph.h [ADT] Fixed -Wdeprecated-copy warning. NFCI 2019-11-28 00:49:42 +01:00
TinyPtrVectorTest.cpp Add TinyPtrVector support for general pointer-like things. 2019-08-20 23:29:28 +00:00
TripleTest.cpp [VE] Target stub for NEC SX-Aurora 2020-01-09 11:17:35 +01:00
TwineTest.cpp