r335739 - [analyzer] Fix string not being formatted with extra arguments

Mikhail R. Gadelha via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 27 07:39:41 PDT 2018


Author: mramalho
Date: Wed Jun 27 07:39:41 2018
New Revision: 335739

URL: http://llvm.org/viewvc/llvm-project?rev=335739&view=rev
Log:
[analyzer] Fix string not being formatted with extra arguments

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

Modified:
    cfe/trunk/utils/analyzer/SATestBuild.py

Modified: cfe/trunk/utils/analyzer/SATestBuild.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/analyzer/SATestBuild.py?rev=335739&r1=335738&r2=335739&view=diff
==============================================================================
--- cfe/trunk/utils/analyzer/SATestBuild.py (original)
+++ cfe/trunk/utils/analyzer/SATestBuild.py Wed Jun 27 07:39:41 2018
@@ -280,7 +280,8 @@ def runScanBuild(Dir, SBOutputDir, PBuil
     }
 
     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 "




More information about the cfe-commits mailing list