summaryrefslogtreecommitdiffstats
path: root/clang/utils/analyzer/SATestBuild.py
diff options
context:
space:
mode:
Diffstat (limited to 'clang/utils/analyzer/SATestBuild.py')
-rwxr-xr-xclang/utils/analyzer/SATestBuild.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/utils/analyzer/SATestBuild.py b/clang/utils/analyzer/SATestBuild.py
index 3137b48a787..00f3bd853d3 100755
--- a/clang/utils/analyzer/SATestBuild.py
+++ b/clang/utils/analyzer/SATestBuild.py
@@ -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.
OpenPOWER on IntegriCloud