summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2016-09-27 20:55:12 +0000
committerAdam Nemet <anemet@apple.com>2016-09-27 20:55:12 +0000
commit699fc5b19146214ec483e0e5cb33084b737be26f (patch)
tree208366a89d130b41ff4a7c628c623244039d6a31 /clang/lib/CodeGen/CodeGenAction.cpp
parenta62b7e1a28e5f60cf51cfa5d9e565a5bdb85408e (diff)
downloadbcm5719-llvm-699fc5b19146214ec483e0e5cb33084b737be26f.tar.gz
bcm5719-llvm-699fc5b19146214ec483e0e5cb33084b737be26f.zip
Adapt to LLVM optimization remark interface change. NFC
llvm-svn: 282540
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 6a3b9c6efbd..f79ca7f79fa 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().str();
+ MsgStream << D.getMsg();
if (D.getHotness())
MsgStream << " (hotness: " << *D.getHotness() << ")";
OpenPOWER on IntegriCloud