[clang-tidy] Stop linking against clangSema (#113373)

This is bad layering-wise. The only fix needed now is to anchor
`SemaConsumer` vtable, which is also done in this patch.
This commit is contained in:
Vlad Serebrennikov 2024-10-23 20:37:38 +04:00 committed by GitHub
parent cb46662fde
commit d8ef7b67e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,6 @@ clang_target_link_libraries(clangTidy
clangFrontend
clangLex
clangRewrite
clangSema
clangSerialization
clangTooling
clangToolingCore

View File

@ -336,6 +336,7 @@ private:
std::unique_ptr<ClangTidyProfiling> Profiling;
std::unique_ptr<ast_matchers::MatchFinder> Finder;
std::vector<std::unique_ptr<ClangTidyCheck>> Checks;
void anchor() override {};
};
} // namespace