From 0458e63d28a6685dae3d17cc210ef838be533612 Mon Sep 17 00:00:00 2001 From: Gabor Horvath Date: Fri, 3 Jan 2020 15:49:32 -0800 Subject: [PATCH] [fuchsia] Enable Clang Static Analyzer Differential Revision: https://reviews.llvm.org/D72188 --- clang/cmake/caches/Fuchsia-stage2.cmake | 2 +- clang/cmake/caches/Fuchsia.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake index d1533b8e7259..b338f1b8a08f 100644 --- a/clang/cmake/caches/Fuchsia-stage2.cmake +++ b/clang/cmake/caches/Fuchsia-stage2.cmake @@ -25,7 +25,7 @@ if(NOT APPLE) endif() set(CLANG_DEFAULT_RTLIB compiler-rt CACHE STRING "") set(CLANG_ENABLE_ARCMT OFF CACHE BOOL "") -set(CLANG_ENABLE_STATIC_ANALYZER OFF CACHE BOOL "") +set(CLANG_ENABLE_STATIC_ANALYZER ON CACHE BOOL "") set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "") set(ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER ON CACHE BOOL "") diff --git a/clang/cmake/caches/Fuchsia.cmake b/clang/cmake/caches/Fuchsia.cmake index 97e272db4aa3..2a65de2039c2 100644 --- a/clang/cmake/caches/Fuchsia.cmake +++ b/clang/cmake/caches/Fuchsia.cmake @@ -20,7 +20,7 @@ if(NOT APPLE) endif() set(CLANG_DEFAULT_RTLIB compiler-rt CACHE STRING "") set(CLANG_ENABLE_ARCMT OFF CACHE BOOL "") -set(CLANG_ENABLE_STATIC_ANALYZER OFF CACHE BOOL "") +set(CLANG_ENABLE_STATIC_ANALYZER ON CACHE BOOL "") set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "") set(ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER ON CACHE BOOL "")