mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
0857fa46b4
This is a recommit of r264414 after fixing the buildbot failure caused by incompatible use of std::vector.erase(). The original message: Add erase() which returns an iterator pointing to the next element after the erased one. This makes it possible to erase selected elements while iterating over the SetVector : while (I != E) if (test(*I)) I = SetVector.erase(I); else ++I; Reviewers: qcolombet, mcrosier, MatzeB, dblaikie Subscribers: dberlin, dblaikie, mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D18281 llvm-svn: 264450
55 lines
1.0 KiB
CMake
55 lines
1.0 KiB
CMake
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
set(ADTSources
|
|
APFloatTest.cpp
|
|
APIntTest.cpp
|
|
APSIntTest.cpp
|
|
ArrayRefTest.cpp
|
|
BitVectorTest.cpp
|
|
DAGDeltaAlgorithmTest.cpp
|
|
DeltaAlgorithmTest.cpp
|
|
DenseMapTest.cpp
|
|
DenseSetTest.cpp
|
|
FoldingSet.cpp
|
|
FunctionRefTest.cpp
|
|
HashingTest.cpp
|
|
ilistTest.cpp
|
|
ImmutableMapTest.cpp
|
|
ImmutableSetTest.cpp
|
|
IntEqClassesTest.cpp
|
|
IntervalMapTest.cpp
|
|
IntrusiveRefCntPtrTest.cpp
|
|
MakeUniqueTest.cpp
|
|
MapVectorTest.cpp
|
|
OptionalTest.cpp
|
|
PackedVectorTest.cpp
|
|
PointerEmbeddedIntTest.cpp
|
|
PointerIntPairTest.cpp
|
|
PointerSumTypeTest.cpp
|
|
PointerUnionTest.cpp
|
|
PostOrderIteratorTest.cpp
|
|
RangeAdapterTest.cpp
|
|
SCCIteratorTest.cpp
|
|
SetVectorTest.cpp
|
|
SmallPtrSetTest.cpp
|
|
SmallStringTest.cpp
|
|
SmallVectorTest.cpp
|
|
SparseBitVectorTest.cpp
|
|
SparseMultiSetTest.cpp
|
|
SparseSetTest.cpp
|
|
StringMapTest.cpp
|
|
StringRefTest.cpp
|
|
TinyPtrVectorTest.cpp
|
|
TripleTest.cpp
|
|
TwineTest.cpp
|
|
VariadicFunctionTest.cpp
|
|
)
|
|
|
|
add_llvm_unittest(ADTTests
|
|
${ADTSources}
|
|
)
|
|
|
|
add_dependencies(ADTTests intrinsics_gen)
|