]> granicus.if.org Git - clang/commitdiff
[analyzer] Unbreak the static analyzer bot. Regression from r148558.
authorAnna Zaks <ganna@apple.com>
Sat, 21 Jan 2012 01:11:35 +0000 (01:11 +0000)
committerAnna Zaks <ganna@apple.com>
Sat, 21 Jan 2012 01:11:35 +0000 (01:11 +0000)
When we build a single source file, we call clang directly (not though scan-build).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148612 91177308-0d34-0410-b5e6-96231b3b80d8

utils/analyzer/SATestBuild.py

index 5d7d42781ecbd81ef5e056aef7fc97fda2218737..a45263b15cace4c51084ef33480c94e856d78e83 100755 (executable)
@@ -171,7 +171,7 @@ def runAnalyzePreprocessed(Dir, SBOutputDir):
         raise Exception()       
 
     CmdPrefix = "clang -cc1 -analyze -analyzer-output=plist -w "
-    CmdPrefix += "-enable-checker " + Checkers +" -fcxx-exceptions -fblocks "   
+    CmdPrefix += "-analyzer-checker=" + Checkers +" -fcxx-exceptions -fblocks "   
     
     PlistPath = os.path.join(Dir, SBOutputDir, "date")
     FailPath = os.path.join(PlistPath, "failures");