From: Mikhail R. Gadelha Date: Wed, 27 Jun 2018 14:39:41 +0000 (+0000) Subject: [analyzer] Fix string not being formatted with extra arguments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5df29be09959e98bdc85bcdc325a07f9d78199a;p=clang [analyzer] Fix string not being formatted with extra arguments Signed-off-by: Mikhail Ramalho git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335739 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/analyzer/SATestBuild.py b/utils/analyzer/SATestBuild.py index b76df748d0..3137b48a78 100755 --- a/utils/analyzer/SATestBuild.py +++ b/utils/analyzer/SATestBuild.py @@ -280,7 +280,8 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile): } SBOptions += "-analyzer-config '%s' " % ( - ",".join("%s=%s" for key, value in AnalyzerConfig.iteritems())) + ",".join("%s=%s" % (key, value) for key, value in AnalyzerConfig.iteritems())) + # Always use ccc-analyze to ensure that we can locate the failures # directory. SBOptions += "--override-compiler "