r222130 - A small correction for r221884. No functional changes.
Alexander Kornienko
alexfh at google.com
Mon Nov 17 06:46:29 PST 2014
Author: alexfh
Date: Mon Nov 17 08:46:28 2014
New Revision: 222130
URL: http://llvm.org/viewvc/llvm-project?rev=222130&view=rev
Log:
A small correction for r221884. No functional changes.
Modified:
cfe/trunk/lib/Frontend/CompilerInstance.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=222130&r1=222129&r2=222130&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Mon Nov 17 08:46:28 2014
@@ -176,7 +176,7 @@ static void SetupSerializedDiagnostics(D
std::move(SerializedConsumer)));
} else {
Diags.setClient(new ChainedDiagnosticConsumer(
- Diags.takeClient(), std::move(SerializedConsumer)));
+ Diags.getClient(), std::move(SerializedConsumer)));
}
}
More information about the cfe-commits
mailing list