projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f24c12
)
Fix clang-tidy shared link with libc++
author
Eric Fiselier
<eric@efcs.ca>
Wed, 12 Apr 2017 22:07:47 +0000
(22:07 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Wed, 12 Apr 2017 22:07:47 +0000
(22:07 +0000)
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
clang-tools-extra/clang-tidy/tool/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
b/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
index
01e2f74
..
2d404d0
100644
(file)
--- a/
clang-tools-extra/clang-tidy/tool/CMakeLists.txt
+++ b/
clang-tools-extra/clang-tidy/tool/CMakeLists.txt
@@
-25,6
+25,7
@@
target_link_libraries(clang-tidy
clangTidyPerformanceModule
clangTidyReadabilityModule
clangTooling
+ clangToolingCore
)
install(TARGETS clang-tidy