r282540 - Adapt to LLVM optimization remark interface change. NFC
Adam Nemet via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 27 13:55:12 PDT 2016
Author: anemet
Date: Tue Sep 27 15:55:12 2016
New Revision: 282540
URL: http://llvm.org/viewvc/llvm-project?rev=282540&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=282540&r1=282539&r2=282540&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenAction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenAction.cpp Tue Sep 27 15:55:12 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