set(LLVM_LINK_COMPONENTS support)

add_clang_library(clangTidyMPIModule
  BufferDerefCheck.cpp
  MPITidyModule.cpp
  TypeMismatchCheck.cpp

  LINK_LIBS
  clangAST
  clangASTMatchers
  clangBasic
  clangLex
  clangTidy
  clangTidyUtils
  clangTooling
  clangStaticAnalyzerCheckers
  )

set(LLVM_LINK_COMPONENTS support)

add_clang_library(clangTidyMPIModule
  BufferDerefCheck.cpp
  MPITidyModule.cpp
  TypeMismatchCheck.cpp

  LINK_LIBS
  clangAnalysis
  clangAST
  clangASTMatchers
  clangBasic
  clangLex
  clangTidy
  clangTidyUtils
  clangTooling
  clangStaticAnalyzerCheckers
  )

Add dependency to clangAnalysis after rC343160
[clang-tidy] Add dependency to clangAnalysis after rC343160

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