diff options
Diffstat (limited to 'clang/utils/analyzer')
-rwxr-xr-x | clang/utils/analyzer/CmpRuns.py | 4 | ||||
-rwxr-xr-x | clang/utils/analyzer/SATestBuild.py | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/clang/utils/analyzer/CmpRuns.py b/clang/utils/analyzer/CmpRuns.py index 87d5eda7a18..be503499622 100755 --- a/clang/utils/analyzer/CmpRuns.py +++ b/clang/utils/analyzer/CmpRuns.py @@ -298,10 +298,10 @@ def deriveStats(results): combined_data['PathsLength'].append(diagnostic.getPathLength()) for stat in results.stats: - for key, value in stat.iteritems(): + for key, value in stat.items(): combined_data[key].append(value) combined_stats = {} - for key, values in combined_data.iteritems(): + for key, values in combined_data.items(): combined_stats[str(key)] = { "max": max(values), "min": min(values), diff --git a/clang/utils/analyzer/SATestBuild.py b/clang/utils/analyzer/SATestBuild.py index 70c425d38ea..1c96cd88381 100755 --- a/clang/utils/analyzer/SATestBuild.py +++ b/clang/utils/analyzer/SATestBuild.py @@ -583,8 +583,7 @@ def runCmpResults(Dir, Strictness=0): # Iterate and find the differences. NumDiffs = 0 - PairList = zip(RefList, NewList) - for P in PairList: + for P in zip(RefList, NewList): RefDir = P[0] NewDir = P[1] |