[cfe-commits] r166048 - /cfe/trunk/utils/analyzer/CmpRuns.py
Anna Zaks
ganna at apple.com
Tue Oct 16 12:36:39 PDT 2012
Author: zaks
Date: Tue Oct 16 14:36:39 2012
New Revision: 166048
URL: http://llvm.org/viewvc/llvm-project?rev=166048&view=rev
Log:
[analyzer] Expose clang_version in CmpRuns
Modified:
cfe/trunk/utils/analyzer/CmpRuns.py
Modified: cfe/trunk/utils/analyzer/CmpRuns.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/analyzer/CmpRuns.py?rev=166048&r1=166047&r2=166048&view=diff
==============================================================================
--- cfe/trunk/utils/analyzer/CmpRuns.py (original)
+++ cfe/trunk/utils/analyzer/CmpRuns.py Tue Oct 16 14:36:39 2012
@@ -119,9 +119,10 @@
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 @@
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)]
More information about the cfe-commits
mailing list