]> granicus.if.org Git - clang/commitdiff
[analyzer] Fix string not being formatted with extra arguments
authorMikhail R. Gadelha <mikhail.ramalho@gmail.com>
Wed, 27 Jun 2018 14:39:41 +0000 (14:39 +0000)
committerMikhail R. Gadelha <mikhail.ramalho@gmail.com>
Wed, 27 Jun 2018 14:39:41 +0000 (14:39 +0000)
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

utils/analyzer/SATestBuild.py

index b76df748d06fc4dc2a9d4043d91002033a6c4247..3137b48a7870bf94d2804f64f07d83ecd98a894a 100755 (executable)
@@ -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 "