[llvm-commits] [llvm] r55106 - /llvm/trunk/include/llvm/Support/raw_ostream.h

Eli Friedman eli.friedman at gmail.com
Wed Aug 20 21:28:32 PDT 2008


Author: efriedma
Date: Wed Aug 20 23:28:31 2008
New Revision: 55106

URL: http://llvm.org/viewvc/llvm-project?rev=55106&view=rev
Log:
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.


Modified:
    llvm/trunk/include/llvm/Support/raw_ostream.h

Modified: llvm/trunk/include/llvm/Support/raw_ostream.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/raw_ostream.h?rev=55106&r1=55105&r2=55106&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/raw_ostream.h (original)
+++ llvm/trunk/include/llvm/Support/raw_ostream.h Wed Aug 20 23:28:31 2008
@@ -112,11 +112,7 @@
   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));
   }





More information about the llvm-commits mailing list