[PATCH] D145302: [clangd] Add library for clangd main function
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 6 01:44:21 PST 2023
sammccall added a comment.
IIUC we want to link some extra targets into the `clangd` binary in order to provide extra clang-tidy checks, but *don't* want to customize the binary further.
(The latter can be useful, but this interface isn't sufficient for it).
Can this be solved at the build-system level, without changing the source code in ways that aren't otherwise useful?
For example, with a `CLANG_TIDY_EXTRA_CHECKS` cmake variable that adds more deps? This seems like it could also work for the `clang-tidy` binary.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145302/new/
https://reviews.llvm.org/D145302
More information about the cfe-commits
mailing list