r336022 - [analyzer] [tests] Fix 80 column violation in SATestBuild.py

George Karpenkov via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 29 15:05:13 PDT 2018


Author: george.karpenkov
Date: Fri Jun 29 15:05:13 2018
New Revision: 336022

URL: http://llvm.org/viewvc/llvm-project?rev=336022&view=rev
Log:
[analyzer] [tests] Fix 80 column violation in SATestBuild.py

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=336022&r1=336021&r2=336022&view=diff
==============================================================================
--- cfe/trunk/utils/analyzer/SATestBuild.py (original)
+++ cfe/trunk/utils/analyzer/SATestBuild.py Fri Jun 29 15:05:13 2018
@@ -274,13 +274,13 @@ def runScanBuild(Dir, SBOutputDir, PBuil
     SBOptions += "-plist-html -o '%s' " % SBOutputDir
     SBOptions += "-enable-checker " + AllCheckers + " "
     SBOptions += "--keep-empty "
-    AnalyzerConfig = {
-        "stable-report-filename": "true",
-        "serialize-stats": "true"
-    }
+    AnalyzerConfig = [
+        ("stable-report-filename", "true"),
+        ("serialize-stats", "true"),
+    ]
 
     SBOptions += "-analyzer-config '%s' " % (
-        ",".join("%s=%s" % (key, value) for key, value in AnalyzerConfig.iteritems()))
+        ",".join("%s=%s" % (key, value) for (key, value) in AnalyzerConfig))
 
     # Always use ccc-analyze to ensure that we can locate the failures
     # directory.




More information about the cfe-commits mailing list