[clang] [Clang] Don't build static analyzer if disabled (PR #212024)

Alexis Engelke via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 27 23:53:25 PDT 2026


aengelke wrote:

Hmm, more complicated than I expected. This was introduced with https://reviews.llvm.org/D87118 to support building clang-tidy with StaticAnalyzer while building clang without it.

@nico Is this use case still relevant? It is rather annoying having to unconditionally build static analyzer in a dylib build. Why is it important that clang has no static analyzer while clang-tidy has?

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


More information about the cfe-commits mailing list