Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / unittests / Rename / CMakeLists.txt
blob6ec0c521551c618457ef418e2ef4d06bcf89a4b2
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   support
4   )
6 # We'd like clang/unittests/Tooling/RewriterTestContext.h in the test.
7 include_directories(${CLANG_SOURCE_DIR})
9 add_clang_unittest(ClangRenameTests
10   RenameClassTest.cpp
11   RenameEnumTest.cpp
12   RenameAliasTest.cpp
13   RenameMemberTest.cpp
14   RenameFunctionTest.cpp
15   )
17 clang_target_link_libraries(ClangRenameTests
18   PRIVATE
19   clangAST
20   clangASTMatchers
21   clangBasic
22   clangFormat
23   clangFrontend
24   clangRewrite
25   clangSerialization
26   clangTooling
27   clangToolingCore
28   clangToolingRefactoring
29   )