diff options
author | Anna Zaks <ganna@apple.com> | 2012-10-16 19:36:39 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-10-16 19:36:39 +0000 |
commit | 68aa3a9389f9541a3cd2bbedc406f4c073da2bc7 (patch) | |
tree | 63bd3d4441bb0233491398fa10e48a921ca13525 | |
parent | e0c50fa01d59749e9392ccff50ee6fb90a61725b (diff) |
[analyzer] Expose clang_version in CmpRuns
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166048 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/analyzer/CmpRuns.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/analyzer/CmpRuns.py b/utils/analyzer/CmpRuns.py index 9b8deff061..77384d471e 100755 --- a/utils/analyzer/CmpRuns.py +++ b/utils/analyzer/CmpRuns.py @@ -119,9 +119,10 @@ class CmpOptions: self.verboseLog = verboseLog class AnalysisReport: - def __init__(self, run, files): + def __init__(self, run, files, clang_vers): self.run = run self.files = files + self.clang_version = clang_vers class AnalysisRun: def __init__(self, info): @@ -172,7 +173,7 @@ def loadResultsFromSingleRun(info, deleteEmpty=True): else: htmlFiles = [None] * len(data['diagnostics']) - report = AnalysisReport(run, data.pop('files')) + report = AnalysisReport(run, data.pop('files'), data.pop('clang_version')) diagnostics = [AnalysisDiagnostic(d, report, h) for d,h in zip(data.pop('diagnostics'), htmlFiles)] |