mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 17:01:00 +08:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user