diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-01-12 22:41:10 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-01-12 22:41:10 +0000 |
commit | 3d33622cf50fe8bd2f10e71b9135bc5c74b1786e (patch) | |
tree | 4ac9d9d2485a778f98a5919ca857d25e63890c11 | |
parent | 0c6b8e3fa718a0a67292340e5cff6fe7cbd15c14 (diff) |
Adjust set of default checkers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148055 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Driver/Tools.cpp | 2 | ||||
-rw-r--r-- | test/Analysis/idempotent-operations.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 1edc441496..6baf6a6453 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -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"); diff --git a/test/Analysis/idempotent-operations.c b/test/Analysis/idempotent-operations.c index 10bd9ff319..4946fe9adc 100644 --- a/test/Analysis/idempotent-operations.c +++ b/test/Analysis/idempotent-operations.c @@ -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 |