r324114 - [analyzer] [tests] Fix crash in SATestBuild.py
George Karpenkov via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 2 10:27:14 PST 2018
Author: george.karpenkov
Date: Fri Feb 2 10:27:14 2018
New Revision: 324114
URL: http://llvm.org/viewvc/llvm-project?rev=324114&view=rev
Log:
[analyzer] [tests] Fix crash in SATestBuild.py
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=324114&r1=324113&r2=324114&view=diff
==============================================================================
--- cfe/trunk/utils/analyzer/CmpRuns.py (original)
+++ cfe/trunk/utils/analyzer/CmpRuns.py Fri Feb 2 10:27:14 2018
@@ -97,10 +97,17 @@ class AnalysisDiagnostic:
class CmpOptions:
+ """
+ Fake output of option parser with manually constructed options.
+ """
+
def __init__(self, verboseLog=None, rootA="", rootB=""):
self.rootA = rootA
self.rootB = rootB
self.verboseLog = verboseLog
+ self.relative_path_histogram = False
+ self.relative_log_path_histogram = False
+ self.absolute_path_histogram = False
class AnalysisReport:
More information about the cfe-commits
mailing list