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:
5c2873a
)
Use llvm::format instead of ftostr (which just calls sprintf).
author
Benjamin Kramer
<benny.kra@googlemail.com>
Fri, 29 Jan 2010 14:40:33 +0000
(14:40 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Fri, 29 Jan 2010 14:40:33 +0000
(14:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94807
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/raw_ostream.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/raw_ostream.cpp
b/lib/Support/raw_ostream.cpp
index 10d7ec0701272d4bf3cbf815b503f7715537e917..f020681e6fa5e1e961b6f3279d2370140ea90a22 100644
(file)
--- a/
lib/Support/raw_ostream.cpp
+++ b/
lib/Support/raw_ostream.cpp
@@
-20,7
+20,6
@@
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/ADT/STLExtras.h"
-#include "llvm/ADT/StringExtras.h"
#include <sys/stat.h>
#include <sys/types.h>
@@
-209,7
+208,7
@@
raw_ostream &raw_ostream::operator<<(const void *P) {
}
raw_ostream &raw_ostream::operator<<(double N) {
- return this->operator<<(f
tostr(
N));
+ return this->operator<<(f
ormat("%e",
N));
}