[cfe-commits] r67665 - /cfe/trunk/lib/Driver/Tools.cpp

Ted Kremenek kremenek at apple.com
Tue Mar 24 17:38:14 PDT 2009


Author: kremenek
Date: Tue Mar 24 19:38:14 2009
New Revision: 67665

URL: http://llvm.org/viewvc/llvm-project?rev=67665&view=rev
Log:
Turn on -analyzer-eagerly-assume by default when using 'clang-cc' to perform
static analysis.

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=67665&r1=67664&r2=67665&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Tue Mar 24 19:38:14 2009
@@ -68,6 +68,7 @@
     // 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',





More information about the cfe-commits mailing list