Fix clang-tidy shared link with libc++

Currently the ClangTidyMain.cpp fails to link against shared LLVM/Clang libraries
due to the missing symbol:

  clang::tooling::operator<(clang::tooling::Replacement const&,
                            clang::tooling::Replacement const&);

This patch fixes the issue by correctly linking clangToolingCore which contains
the definition.

llvm-svn: 300115
This commit is contained in:
Eric Fiselier 2017-04-12 22:07:47 +00:00
parent 5f24c12dc4
commit 6eee3a3fca
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ target_link_libraries(clang-tidy
clangTidyPerformanceModule
clangTidyReadabilityModule
clangTooling
clangToolingCore
)
install(TARGETS clang-tidy