[analyzer] Fix string not being formatted with extra arguments

Signed-off-by: Mikhail Ramalho <mikhail.ramalho@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335739 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail R. Gadelha 2018-06-27 14:39:41 +00:00
parent f040667a18
commit c5df29be09
1 changed files with 2 additions and 1 deletions

View File

@ -280,7 +280,8 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
} }
SBOptions += "-analyzer-config '%s' " % ( 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 # Always use ccc-analyze to ensure that we can locate the failures
# directory. # directory.
SBOptions += "--override-compiler " SBOptions += "--override-compiler "