set(LLVM_LINK_COMPONENTS Support ) add_clang_unittest(FormatTests FormatTest.cpp FormatTestJava.cpp FormatTestJS.cpp FormatTestProto.cpp FormatTestSelective.cpp SortIncludesTest.cpp ) target_link_libraries(FormatTests clangFormat clangToolingCore )