[Analyzer] Build clang with just the Static Analyzer

Hi All,

Would it be possible to write a custom build target for clang, but only including the Static Analyzer? I’m only using my clang build with --analyze, so it doesn’t make sense to have the ~100MB of other stuff statically linked into the clang executable.

~Scott Constable

I don’t think so. I can’t think of anything but IR generation that could be removed, so you wouldn’t really benefit.

clang-tidy shows you how to do that if you really want to (and for some reason you don’t want to use clang-tidy).