forked from OSchip/llvm-project
Have 'clang --analyze' run syntactic static analysis security checks.
llvm-svn: 76996
This commit is contained in:
parent
c26c76ec1d
commit
9c3952c03e
|
@ -241,6 +241,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
// Add default argument set.
|
||||
if (!Args.hasArg(options::OPT__analyzer_no_default_checks)) {
|
||||
CmdArgs.push_back("-warn-dead-stores");
|
||||
CmdArgs.push_back("-warn-security-syntactic");
|
||||
CmdArgs.push_back("-checker-cfref");
|
||||
CmdArgs.push_back("-analyzer-eagerly-assume");
|
||||
CmdArgs.push_back("-warn-objc-methodsigs");
|
||||
|
|
Loading…
Reference in New Issue