From 4c0ef3797bbe59e44845e79bd39240427630c428 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Mon, 17 Nov 2014 14:46:28 +0000 Subject: [PATCH] A small correction for r221884. No functional changes. llvm-svn: 222130 --- clang/lib/Frontend/CompilerInstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index 2b7f183..ac9de48 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -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))); } } -- 2.7.4