Skip to content

Commit bbc6989

Browse files
committed
Fix constructor
1 parent b57f5b1 commit bbc6989

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/Frontend/LogDiagnosticPrinter.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ using namespace clang;
1818
using namespace markup;
1919

2020
LogDiagnosticPrinter::LogDiagnosticPrinter(
21-
raw_ostream &os, DiagnosticOptions &DiagOpts,
21+
raw_ostream &os, DiagnosticOptions &,
2222
std::unique_ptr<raw_ostream> StreamOwner)
23-
: OS(os), StreamOwner(std::move(StreamOwner)), LangOpts(nullptr),
24-
DiagOpts(DiagOpts) {}
23+
: OS(os), StreamOwner(std::move(StreamOwner)), LangOpts(nullptr) {}
2524

2625
static StringRef getLevelName(DiagnosticsEngine::Level Level) {
2726
switch (Level) {

0 commit comments

Comments
 (0)