From 9b646dac1c05fbfbfb4db0cb88ea28e74fbe7b9a Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 25 Mar 2009 00:38:14 +0000 Subject: [PATCH] Turn on -analyzer-eagerly-assume by default when using 'clang-cc' to perform static analysis. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67665 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/Tools.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index afb02fa49b..4bc034fc84 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -68,6 +68,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, // FIXME: Move into clang? CmdArgs.push_back("-warn-dead-stores"); CmdArgs.push_back("-checker-cfref"); + CmdArgs.push_back("-analyzer-eagerly-assume"); CmdArgs.push_back("-warn-objc-methodsigs"); // Do not enable the missing -dealloc check. // '-warn-objc-missing-dealloc', -- 2.40.0