[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:
parent
cb46662fde
commit
d8ef7b67e8
@ -35,7 +35,6 @@ clang_target_link_libraries(clangTidy
|
||||
clangFrontend
|
||||
clangLex
|
||||
clangRewrite
|
||||
clangSema
|
||||
clangSerialization
|
||||
clangTooling
|
||||
clangToolingCore
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user