CMakeLists.txt 620 Bytes
set(LLVM_LINK_COMPONENTS
  Support
  )

add_clang_unittest(FormatTests
  CleanupTest.cpp
  FormatTest.cpp
  FormatTestComments.cpp
  FormatTestCSharp.cpp
  FormatTestJS.cpp
  FormatTestJava.cpp
  FormatTestObjC.cpp
  FormatTestProto.cpp
  FormatTestRawStrings.cpp
  FormatTestSelective.cpp
  FormatTestTableGen.cpp
  FormatTestTextProto.cpp
  NamespaceEndCommentsFixerTest.cpp
  SortImportsTestJS.cpp
  SortImportsTestJava.cpp
  SortIncludesTest.cpp
  UsingDeclarationsSorterTest.cpp
  )

clang_target_link_libraries(FormatTests
  PRIVATE
  clangBasic
  clangFormat
  clangFrontend
  clangRewrite
  clangToolingCore
  )