mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 08:26:29 +00:00
[DiagnosticPrinter] Use the appropriate method to print a Twine object in a
raw_ostream. llvm-svn: 197531
This commit is contained in:
parent
7f077ea70a
commit
de17e8bc87
@ -90,7 +90,7 @@ DiagnosticPrinter &DiagnosticPrinterRawOStream::operator<<(double N) {
|
||||
}
|
||||
|
||||
DiagnosticPrinter &DiagnosticPrinterRawOStream::operator<<(const Twine &Str) {
|
||||
Stream << Str.getSingleStringRef();
|
||||
Str.print(Stream);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user