[clang-tools-extra] [clang-tidy] Remove redundant LINK_LIBS (PR #94588)

Jonas Toth via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 9 00:03:12 PDT 2024


JonasToth wrote:

As you requested my review:

The original linking was done for the `ExprMutAnalyzer` used in 'misc-const-correctness'. If clang-tidy is builtin without static analyzer Support, you get linker failure.

If the `ExprMutAnalyzer` is moved (back) to clang-tidy, the issue is not existent. The original move request was from static analysis background where they might wanted to use the class as well.

https://github.com/llvm/llvm-project/pull/94588


More information about the cfe-commits mailing list