1set(LLVM_LINK_COMPONENTS 2 Support 3 ) 4 5add_clang_unittest(FormatTests 6 BracesInserterTest.cpp 7 BracesRemoverTest.cpp 8 CleanupTest.cpp 9 ConfigParseTest.cpp 10 DefinitionBlockSeparatorTest.cpp 11 FormatTest.cpp 12 FormatTestComments.cpp 13 FormatTestCSharp.cpp 14 FormatTestJS.cpp 15 FormatTestJava.cpp 16 FormatTestJson.cpp 17 FormatTestMacroExpansion.cpp 18 FormatTestObjC.cpp 19 FormatTestProto.cpp 20 FormatTestRawStrings.cpp 21 FormatTestSelective.cpp 22 FormatTestTableGen.cpp 23 FormatTestTextProto.cpp 24 FormatTestVerilog.cpp 25 FormatTokenSourceTest.cpp 26 FormatReplacementTest.cpp 27 IntegerLiteralSeparatorTest.cpp 28 MacroCallReconstructorTest.cpp 29 MacroExpanderTest.cpp 30 MatchFilePathTest.cpp 31 NamespaceEndCommentsFixerTest.cpp 32 ObjCPropertyAttributeOrderFixerTest.cpp 33 QualifierFixerTest.cpp 34 SortImportsTestJS.cpp 35 SortImportsTestJava.cpp 36 SortIncludesTest.cpp 37 UsingDeclarationsSorterTest.cpp 38 TokenAnnotatorTest.cpp 39 ) 40 41clang_target_link_libraries(FormatTests 42 PRIVATE 43 clangBasic 44 clangFormat 45 clangRewrite 46 clangToolingCore 47 ) 48