Revert "Fix CLANG_ENABLE_STATIC_ANALYZER=OFF building all analyzer source"
authorNico Weber <thakis@chromium.org>
Mon, 20 Sep 2021 20:18:03 +0000 (16:18 -0400)
committerNico Weber <thakis@chromium.org>
Mon, 20 Sep 2021 20:18:03 +0000 (16:18 -0400)
commit9197834535364efff505580ef940ad41cd293275
tree6e769dea52fc3eaf1c4e91b02641a649b1074bc1
parent55f0b337087136554122f942fea951a357bc4a49
Revert "Fix CLANG_ENABLE_STATIC_ANALYZER=OFF building all analyzer source"

This reverts commit 6d7b3d6b3a8dbd62650b6c3dae1fe904a8ae9048.
Breaks running cmake with `-DCLANG_ENABLE_STATIC_ANALYZER=OFF`
without turning off CLANG_TIDY_ENABLE_STATIC_ANALYZER.
See comments on https://reviews.llvm.org/D109611 for details.
clang/cmake/modules/AddClang.cmake
clang/lib/StaticAnalyzer/CMakeLists.txt
llvm/cmake/modules/AddLLVM.cmake