Revert "[Clang] Don't build static analyzer if disabled" (#212836)
Breaks unusual build configs where clang-tidy static analyzer is enabled while clang static analyzer is disabled. Reverts llvm/llvm-project#212024
This commit is contained in:
parent
a9749e8e26
commit
499db7987c
1 changed files with 1 additions and 3 deletions
|
|
@ -24,9 +24,7 @@ add_subdirectory(Index)
|
|||
add_subdirectory(IndexSerialization)
|
||||
add_subdirectory(InstallAPI)
|
||||
add_subdirectory(ScalableStaticAnalysis)
|
||||
if(CLANG_ENABLE_STATIC_ANALYZER)
|
||||
add_subdirectory(StaticAnalyzer)
|
||||
endif()
|
||||
add_subdirectory(StaticAnalyzer)
|
||||
add_subdirectory(Format)
|
||||
if(CLANG_INCLUDE_TESTS)
|
||||
add_subdirectory(Testing)
|
||||
|
|
|
|||
Loading…
Reference in a new issue