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.

llvm-svn: 102664
This commit is contained in:
Ted Kremenek 2010-04-29 22:50:22 +00:00
parent e2550f4f93
commit d8a23f988d
1 changed files with 3 additions and 1 deletions

View File

@ -827,7 +827,9 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
// 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");