[cfe-commits] r102664 - /cfe/trunk/lib/Driver/Tools.cpp
Ted Kremenek
kremenek at apple.com
Thu Apr 29 15:50:23 PDT 2010
Author: kremenek
Date: Thu Apr 29 17:50:22 2010
New Revision: 102664
URL: http://llvm.org/viewvc/llvm-project?rev=102664&view=rev
Log:
Do not enable '-analyze-check-security-syntactic' by default when using '--analyze'. There
are several known issues to address for it should be turned on by default.
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=102664&r1=102663&r2=102664&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Apr 29 17:50:22 2010
@@ -827,7 +827,9 @@
// Add default argument set.
if (!Args.hasArg(options::OPT__analyzer_no_default_checks)) {
CmdArgs.push_back("-analyzer-check-dead-stores");
- CmdArgs.push_back("-analyzer-check-security-syntactic");
+ // Do not enable the security-syntatic check since it
+ // it needs to be refined (known issues).
+ // CmdArgs.push_back("-analyzer-check-security-syntactic");
CmdArgs.push_back("-analyzer-check-objc-mem");
CmdArgs.push_back("-analyzer-eagerly-assume");
CmdArgs.push_back("-analyzer-check-objc-methodsigs");
More information about the cfe-commits
mailing list