Skip to content

Commit 10dcba7

Browse files
authored
[clang-tidy] Remove redundant LINK_LIBS (#94588)
clangAnalysis is already being pulled in via clang_target_link_libraries(). Also listing it in LINK_LIBS means that we'll link both against the static libraries and the shared libclang-cpp.so library if CLANG_LINK_CLANG_DYLIB is enabled, and waste time on unnecessary LTO.
1 parent 5fe7307 commit 10dcba7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang-tools-extra/clang-tidy/misc/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ add_clang_library(clangTidyMiscModule
4343
UseAnonymousNamespaceCheck.cpp
4444

4545
LINK_LIBS
46-
clangAnalysis
4746
clangTidy
4847
clangTidyUtils
4948

0 commit comments

Comments
 (0)