From: Anna Zaks Date: Sat, 21 Jan 2012 01:11:35 +0000 (+0000) Subject: [analyzer] Unbreak the static analyzer bot. Regression from r148558. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c345c0fc321ada7336ee13b0cd815b91553edaf;p=clang [analyzer] Unbreak the static analyzer bot. Regression from r148558. 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 --- diff --git a/utils/analyzer/SATestBuild.py b/utils/analyzer/SATestBuild.py index 5d7d42781e..a45263b15c 100755 --- a/utils/analyzer/SATestBuild.py +++ b/utils/analyzer/SATestBuild.py @@ -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");