1set(LLVM_LINK_COMPONENTS 2 ${LLVM_TARGETS_TO_BUILD} 3 asmparser 4 bitreader 5 support 6 mc 7 ) 8 9add_clang_unittest(ToolingTests 10 CommentHandlerTest.cpp 11 CompilationDatabaseTest.cpp 12 ToolingTest.cpp 13 RecursiveASTVisitorTest.cpp 14 RefactoringTest.cpp 15 RewriterTest.cpp 16 RefactoringCallbacksTest.cpp 17 ReplacementsYamlTest.cpp 18 ) 19 20target_link_libraries(ToolingTests 21 clangAST 22 clangTooling 23 clangRewriteCore 24 ) 25