Skip to content

Commit 78809e5

Browse files
author
George Karpenkov
committed
[analyzer] [tests] Fix crash in SATestBuild.py
llvm-svn: 324114
1 parent 3a2cf86 commit 78809e5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

clang/utils/analyzer/CmpRuns.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,17 @@ def getRawData(self):
9797

9898

9999
class CmpOptions:
100+
"""
101+
Fake output of option parser with manually constructed options.
102+
"""
103+
100104
def __init__(self, verboseLog=None, rootA="", rootB=""):
101105
self.rootA = rootA
102106
self.rootB = rootB
103107
self.verboseLog = verboseLog
108+
self.relative_path_histogram = False
109+
self.relative_log_path_histogram = False
110+
self.absolute_path_histogram = False
104111

105112

106113
class AnalysisReport:

0 commit comments

Comments
 (0)