aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-08-21 04:28:31 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-08-21 04:28:31 +0000
commitafc802dc7d963a2cb46f1b0c1f1b0faa5e1dca2a (patch)
tree64b01befa6b9115af1feb07298edd4cef411b28f
parentea693dfab48ee6fc07cc21abc20f487df5057a6b (diff)
Remove size_t operator; this unbreaks the build on Linux. Committing on
the suggestion of resistor. If this breaks some other platform, please go ahead and back this out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55106 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/raw_ostream.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h
index 8019e44e35..7e33cc78b1 100644
--- a/include/llvm/Support/raw_ostream.h
+++ b/include/llvm/Support/raw_ostream.h
@@ -112,11 +112,7 @@ public:
raw_ostream &operator<<(int32_t N) {
return this->operator<<(static_cast<int64_t>(N));
}
-
- raw_ostream &operator<<(size_t N) {
- return this->operator<<(static_cast<uint64_t>(N));
- }
-
+
raw_ostream &operator<<(double N) {
return this->operator<<(ftostr(N));
}