[clang] [clang] Only build static analyzer sources if requested (PR #71653)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 13 22:13:28 PST 2023


================
@@ -23,7 +23,9 @@ add_subdirectory(Tooling)
 add_subdirectory(DirectoryWatcher)
 add_subdirectory(Index)
 add_subdirectory(IndexSerialization)
-add_subdirectory(StaticAnalyzer)
+if(CLANG_ENABLE_STATIC_ANALYZER)
----------------
tbaederr wrote:

Well yes, but I'm not introducing the option here, I'm just making it work.

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


More information about the cfe-commits mailing list