summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2016-09-27 16:39:27 +0000
committerAdam Nemet <anemet@apple.com>2016-09-27 16:39:27 +0000
commit95d0c628cf9654b60bf423ed05019effa391d8cd (patch)
treef249641b7298c4e3c8943d22a4097bb663676f48 /clang/lib/CodeGen/CodeGenAction.cpp
parentcc2a3fa8e83b06d987137428877e8954b364830b (diff)
downloadbcm5719-llvm-95d0c628cf9654b60bf423ed05019effa391d8cd.tar.gz
bcm5719-llvm-95d0c628cf9654b60bf423ed05019effa391d8cd.zip
Revert "Adapt to LLVM optimization remark interface change. NFC"
This reverts commit r282500. llvm-svn: 282504
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenAction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp
index f79ca7f79fa..6a3b9c6efbd 100644
--- a/clang/lib/CodeGen/CodeGenAction.cpp
+++ b/clang/lib/CodeGen/CodeGenAction.cpp
@@ -514,7 +514,7 @@ void BackendConsumer::EmitOptimizationMessage(
std::string Msg;
raw_string_ostream MsgStream(Msg);
- MsgStream << D.getMsg();
+ MsgStream << D.getMsg().str();
if (D.getHotness())
MsgStream << " (hotness: " << *D.getHotness() << ")";
OpenPOWER on IntegriCloud