r282500 - Adapt to LLVM optimization remark interface change. NFC
Adam Nemet via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 27 09:15:22 PDT 2016
Author: anemet
Date: Tue Sep 27 11:15:21 2016
New Revision: 282500
URL: http://llvm.org/viewvc/llvm-project?rev=282500&view=rev
Log:
Adapt to LLVM optimization remark interface change. NFC
Modified:
cfe/trunk/lib/CodeGen/CodeGenAction.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenAction.cpp?rev=282500&r1=282499&r2=282500&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenAction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenAction.cpp Tue Sep 27 11:15:21 2016
@@ -514,7 +514,7 @@ void BackendConsumer::EmitOptimizationMe
std::string Msg;
raw_string_ostream MsgStream(Msg);
- MsgStream << D.getMsg().str();
+ MsgStream << D.getMsg();
if (D.getHotness())
MsgStream << " (hotness: " << *D.getHotness() << ")";
More information about the cfe-commits
mailing list