set(LLVM_LINK_COMPONENTS support)

add_clang_library(clangRename
  USRFinder.cpp
  USRFindingAction.cpp
  USRLocFinder.cpp
  RenamingAction.cpp

  LINK_LIBS
  clangAST
  clangBasic
  clangIndex
  clangLex
  clangToolingCore
  )

add_subdirectory(tool)

set(LLVM_LINK_COMPONENTS support)

add_clang_library(clangRename
  USRFinder.cpp
  USRFindingAction.cpp
  USRLocFinder.cpp
  RenamingAction.cpp

  LINK_LIBS
  clangAST
  clangASTMatchers
  clangBasic
  clangIndex
  clangLex
  clangToolingCore
  )

add_subdirectory(tool)

Update libdeps to add clangASTMatchers.
clangRename: Update libdeps to add clangASTMatchers.

Note, ClangRenameTests is linking USRFindingAction.cpp directly.

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