set(LLVM_LINK_COMPONENTS
  support
  )

get_filename_component(CLANG_RENAME_SOURCE_DIR
  ${CMAKE_CURRENT_SOURCE_DIR}/../../clang-rename REALPATH)
include_directories(
  ${CLANG_RENAME_SOURCE_DIR}
  )

add_extra_unittest(ClangRenameTests
  USRLocFindingTest.cpp
  ${CLANG_RENAME_SOURCE_DIR}/USRFinder.cpp
  ${CLANG_RENAME_SOURCE_DIR}/USRFindingAction.cpp
  )

target_link_libraries(ClangRenameTests
  clangAST
  clangBasic
  clangFrontend
  clangIndex
  clangTooling
  )

set(LLVM_LINK_COMPONENTS
  support
  )

get_filename_component(CLANG_RENAME_SOURCE_DIR
  ${CMAKE_CURRENT_SOURCE_DIR}/../../clang-rename REALPATH)
include_directories(
  ${CLANG_RENAME_SOURCE_DIR}
  )

add_extra_unittest(ClangRenameTests
  USRLocFindingTest.cpp
  ${CLANG_RENAME_SOURCE_DIR}/USRFinder.cpp
  ${CLANG_RENAME_SOURCE_DIR}/USRFindingAction.cpp
  )

target_link_libraries(ClangRenameTests
  clangAST
  clangASTMatchers
  clangBasic
  clangFrontend
  clangIndex
  clangTooling
  )

Update libdeps. r275958 introduced clangASTMatchers.
ClangRenameTests: Update libdeps. r275958 introduced clangASTMatchers.

git-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@275985 91177308-0d34-0410-b5e6-96231b3b80d8
