Remove size_t operator; this unbreaks the build on Linux. Committing on
authorEli Friedman <eli.friedman@gmail.com>
Thu, 21 Aug 2008 04:28:31 +0000 (04:28 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 21 Aug 2008 04:28:31 +0000 (04:28 +0000)
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

include/llvm/Support/raw_ostream.h

index 8019e44e35b0054a4df8d13c09e85adab394705a..7e33cc78b18dd521e6b840b49a6030edfb01bf37 100644 (file)
@@ -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));
   }