]> granicus.if.org Git - clang/commitdiff
Adjust set of default checkers.
authorTed Kremenek <kremenek@apple.com>
Thu, 12 Jan 2012 22:41:10 +0000 (22:41 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 12 Jan 2012 22:41:10 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148055 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp
test/Analysis/idempotent-operations.c

index 1edc4414964851f6f840aacc79193ce9181e1174..6baf6a645365ee8f4f46b062e19a912838dcf329 100644 (file)
@@ -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");
index 10bd9ff3198c33560fc21649171b0950f23ea003..4946fe9adc2555b860adb25ff3288a87cfa9d468 100644 (file)
@@ -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