Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / unittests / Lex / CMakeLists.txt
blobf7fc0eed06bec5c7dc2a7280de1847dcdbea5d05
1 set(LLVM_LINK_COMPONENTS
2   Support
3   )
5 add_clang_unittest(LexTests
6   DependencyDirectivesScannerTest.cpp
7   HeaderMapTest.cpp
8   HeaderSearchTest.cpp
9   LexerTest.cpp
10   ModuleDeclStateTest.cpp
11   PPCallbacksTest.cpp
12   PPConditionalDirectiveRecordTest.cpp
13   PPDependencyDirectivesTest.cpp
14   PPMemoryAllocationsTest.cpp
15   )
17 clang_target_link_libraries(LexTests
18   PRIVATE
19   clangAST
20   clangBasic
21   clangLex
22   clangParse
23   clangSema
24   )
26 target_link_libraries(LexTests
27   PRIVATE
28   LLVMTestingAnnotations
29   LLVMTestingSupport
30   )