]> granicus.if.org Git - clang/commitdiff
[analyzer] [tests] Fix 80 column violation in SATestBuild.py
authorGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 29 Jun 2018 22:05:13 +0000 (22:05 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Fri, 29 Jun 2018 22:05:13 +0000 (22:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@336022 91177308-0d34-0410-b5e6-96231b3b80d8

utils/analyzer/SATestBuild.py

index 3137b48a7870bf94d2804f64f07d83ecd98a894a..00f3bd853d3e981efae6636c342f741a7969be78 100755 (executable)
@@ -274,13 +274,13 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
     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.