summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-12-19 01:35:35 +0000
committerTed Kremenek <kremenek@apple.com>2012-12-19 01:35:35 +0000
commit3a081a033926da9cdd68ccb8705ad882704f68b5 (patch)
treef93ae66ce658d27b1b3326deb9abaa9fcfa3ad09 /clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
parent372735f3423bbaacccda99e61805d6d8644487cc (diff)
downloadbcm5719-llvm-3a081a033926da9cdd68ccb8705ad882704f68b5.tar.gz
bcm5719-llvm-3a081a033926da9cdd68ccb8705ad882704f68b5.zip
Pass AnalyzerOptions to PathDiagnosticConsumer to make analyzer options accessible there.
This is plumbing needed for later functionality changes. llvm-svn: 170488
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp b/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
index bd6898379ff..73426da2b4d 100644
--- a/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
+++ b/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
@@ -76,7 +76,8 @@ HTMLDiagnostics::HTMLDiagnostics(const std::string& prefix,
FilePrefix.appendComponent("report");
}
-void ento::createHTMLDiagnosticConsumer(PathDiagnosticConsumers &C,
+void ento::createHTMLDiagnosticConsumer(AnalyzerOptions &AnalyzerOpts,
+ PathDiagnosticConsumers &C,
const std::string& prefix,
const Preprocessor &PP) {
C.push_back(new HTMLDiagnostics(prefix, PP));
OpenPOWER on IntegriCloud