forked from OSchip/llvm-project
A small correction for r221884. No functional changes.
llvm-svn: 222130
This commit is contained in:
parent
609bf92365
commit
4c0ef3797b
|
@ -176,7 +176,7 @@ static void SetupSerializedDiagnostics(DiagnosticOptions *DiagOpts,
|
|||
std::move(SerializedConsumer)));
|
||||
} else {
|
||||
Diags.setClient(new ChainedDiagnosticConsumer(
|
||||
Diags.takeClient(), std::move(SerializedConsumer)));
|
||||
Diags.getClient(), std::move(SerializedConsumer)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue