set(LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  Support
  )

add_clang_unittest(TokensTest
  TokensTest.cpp
)

target_link_libraries(TokensTest
  PRIVATE
  clangAST
  clangBasic
  clangFrontend
  clangLex
  clangSerialization
  clangTooling
  clangToolingSyntax
  LLVMTestingSupport
  )

set(LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  Support
  )

add_clang_unittest(SyntaxTests
  TokensTest.cpp
)

target_link_libraries(SyntaxTests
  PRIVATE
  clangAST
  clangBasic
  clangFrontend
  clangLex
  clangSerialization
  clangTooling
  clangToolingSyntax
  LLVMTestingSupport
  )

Rename TokensTest to SyntaxTests. NFC
[Syntax] Rename TokensTest to SyntaxTests. NFC

To be more consistent with conventions used in the codebase. The new
name will be a better fit when more bits of the syntax library land.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@361264 91177308-0d34-0410-b5e6-96231b3b80d8
