From: Anna Zaks Date: Fri, 31 May 2013 02:31:09 +0000 (+0000) Subject: [analyzer] Always use ccc-analyzer when running scan-build on buildbot X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3a9baa45c91f5c06801a2d667b5d6d71bcfb355;p=clang [analyzer] Always use ccc-analyzer when running scan-build on buildbot git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182982 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/analyzer/SATestBuild.py b/utils/analyzer/SATestBuild.py index e119155a9b..8e09a7adab 100755 --- a/utils/analyzer/SATestBuild.py +++ b/utils/analyzer/SATestBuild.py @@ -208,6 +208,9 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile): SBOptions += "-plist-html -o " + SBOutputDir + " " SBOptions += "-enable-checker " + Checkers + " " SBOptions += "--keep-empty " + # Always use ccc-analyze to ensure that we can locate the failures + # directory. + SBOptions += "--override-compiler " try: SBCommandFile = open(BuildScriptPath, "r") SBPrefix = "scan-build " + SBOptions + " "