projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c4329
)
[DiagnosticPrinter] Use the appropriate method to print a Twine object in a
author
Quentin Colombet
<qcolombet@apple.com>
Tue, 17 Dec 2013 22:35:07 +0000
(22:35 +0000)
committer
Quentin Colombet
<qcolombet@apple.com>
Tue, 17 Dec 2013 22:35:07 +0000
(22:35 +0000)
raw_ostream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197531
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/DiagnosticPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/DiagnosticPrinter.cpp
b/lib/IR/DiagnosticPrinter.cpp
index 04cd6c7e6f7ef5353ac8d45175ef28a32a5dbeb6..d76f9f586a9e1af52988fa065afb981e8d424af0 100644
(file)
--- a/
lib/IR/DiagnosticPrinter.cpp
+++ b/
lib/IR/DiagnosticPrinter.cpp
@@
-90,7
+90,7
@@
DiagnosticPrinter &DiagnosticPrinterRawOStream::operator<<(double N) {
}
DiagnosticPrinter &DiagnosticPrinterRawOStream::operator<<(const Twine &Str) {
- Str
eam << Str.getSingleStringRef(
);
+ Str
.print(Stream
);
return *this;
}