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() << ")"; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits