# Format tests have few LLVM and Clang dependencies, so linking it as a
# distinct target enables faster iteration times at low cost.
add_distinct_clang_unittest(FormatTests
  BracesInserterTest.cpp
  BracesRemoverTest.cpp
  CleanupTest.cpp
  ConfigParseTest.cpp
  DefinitionBlockSeparatorTest.cpp
  FormatTest.cpp
  FormatTestComments.cpp
  FormatTestCSharp.cpp
  FormatTestJS.cpp
  FormatTestJava.cpp
  FormatTestJson.cpp
  FormatTestMacroExpansion.cpp
  FormatTestObjC.cpp
  FormatTestProto.cpp
  FormatTestRawStrings.cpp
  FormatTestSelective.cpp
  FormatTestTableGen.cpp
  FormatTestTextProto.cpp
  FormatTestVerilog.cpp
  FormatTokenSourceTest.cpp
  FormatReplacementTest.cpp
  IntegerLiteralSeparatorTest.cpp
  MacroCallReconstructorTest.cpp
  MacroExpanderTest.cpp
  MatchFilePathTest.cpp
  NamespaceEndCommentsFixerTest.cpp
  ObjCPropertyAttributeOrderFixerTest.cpp
  QualifierFixerTest.cpp
  SortImportsTestJS.cpp
  SortImportsTestJava.cpp
  SortIncludesTest.cpp
  UsingDeclarationsSorterTest.cpp
  TokenAnnotatorTest.cpp
  CLANG_LIBS
  clangBasic
  clangFormat
  clangLex
  clangRewrite
  clangToolingCore
  LLVM_COMPONENTS
  Support
  )
