Make the User::value_op_iterator a random access iterator. I had written
[oota-llvm.git] / unittests / IR / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Analysis
3   AsmParser
4   Core
5   IPA
6   Support
7   )
8
9 set(IRSources
10   AttributesTest.cpp
11   ConstantRangeTest.cpp
12   ConstantsTest.cpp
13   DominatorTreeTest.cpp
14   IRBuilderTest.cpp
15   InstructionsTest.cpp
16   LeakDetectorTest.cpp
17   LegacyPassManagerTest.cpp
18   MDBuilderTest.cpp
19   MetadataTest.cpp
20   PassManagerTest.cpp
21   PatternMatch.cpp
22   TypeBuilderTest.cpp
23   TypesTest.cpp
24   UserTest.cpp
25   ValueHandleTest.cpp
26   ValueMapTest.cpp
27   ValueTest.cpp
28   VerifierTest.cpp
29   WaymarkTest.cpp
30   )
31
32 # HACK: Declare a couple of source files as optionally compiled to satisfy the
33 # missing-file-checker in LLVM's weird CMake build.
34 set(LLVM_OPTIONAL_SOURCES
35   ValueMapTest.cpp
36   )
37
38 add_llvm_unittest(IRTests
39   ${IRSources}
40   )