1set(LLVM_LINK_COMPONENTS 2 Support 3 ) 4 5add_clang_unittest(FormatTests 6 CleanupTest.cpp 7 FormatTest.cpp 8 FormatTestComments.cpp 9 FormatTestCSharp.cpp 10 FormatTestJS.cpp 11 FormatTestJava.cpp 12 FormatTestObjC.cpp 13 FormatTestProto.cpp 14 FormatTestRawStrings.cpp 15 FormatTestSelective.cpp 16 FormatTestTableGen.cpp 17 FormatTestTextProto.cpp 18 MacroExpanderTest.cpp 19 NamespaceEndCommentsFixerTest.cpp 20 SortImportsTestJS.cpp 21 SortImportsTestJava.cpp 22 SortIncludesTest.cpp 23 UsingDeclarationsSorterTest.cpp 24 TokenAnnotatorTest.cpp 25 ) 26 27clang_target_link_libraries(FormatTests 28 PRIVATE 29 clangBasic 30 clangFormat 31 clangRewrite 32 clangToolingCore 33 ) 34