forked from OSchip/llvm-project
parent
50b3d507bd
commit
52acee87f4
|
@ -1360,8 +1360,6 @@ 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-checker=core");
|
||||
CmdArgs.push_back("-analyzer-checker=deadcode");
|
||||
CmdArgs.push_back("-analyzer-checker=security");
|
||||
|
||||
if (getToolChain().getTriple().getOS() != llvm::Triple::Win32)
|
||||
CmdArgs.push_back("-analyzer-checker=unix");
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// RUN: %clang_cc1 -analyze -analyzer-store=region -analyzer-constraints=range -fblocks -analyzer-opt-analyze-nested-blocks -analyzer-checker=deadcode.IdempotentOperations -verify %s
|
||||
// RUN: %clang --analyze -Xclang -analyzer-disable-checker=deadcode.DeadStores -fblocks -Xclang -verify %s -o %t
|
||||
|
||||
// Basic tests
|
||||
|
||||
|
|
Loading…
Reference in New Issue