forked from OSchip/llvm-project
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:
parent
e2550f4f93
commit
d8a23f988d
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue