Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / unittests / ASTMatchers / CMakeLists.txt
blob6a1e629d81b65bad8dd3ee9c5dd76b9a135f1090
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   TargetParser
5   )
7 add_clang_unittest(ASTMatchersTests
8   ASTMatchersInternalTest.cpp
9   ASTMatchersNodeTest.cpp
10   ASTMatchersNarrowingTest.cpp
11   ASTMatchersTraversalTest.cpp
12   GtestMatchersTest.cpp
13   )
15 clang_target_link_libraries(ASTMatchersTests
16   PRIVATE
17   clangAST
18   clangASTMatchers
19   clangBasic
20   clangFrontend
21   clangSerialization
22   clangTooling
23   )
25 target_link_libraries(ASTMatchersTests
26   PRIVATE
27   clangTesting
28   LLVMTestingSupport
31 add_subdirectory(Dynamic)