[llvm-commits] [llvm] r74515 - in /llvm/trunk: include/llvm/ADT/APInt.h lib/Support/APInt.cpp

Bill Wendling isanbard at gmail.com
Tue Jun 30 00:05:28 PDT 2009


Author: void
Date: Tue Jun 30 02:05:27 2009
New Revision: 74515

URL: http://llvm.org/viewvc/llvm-project?rev=74515&view=rev
Log:
Temporarily revert r74494. It was causing failures in the unit tests.

Modified:
    llvm/trunk/include/llvm/ADT/APInt.h
    llvm/trunk/lib/Support/APInt.cpp

Modified: llvm/trunk/include/llvm/ADT/APInt.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/APInt.h?rev=74515&r1=74514&r2=74515&view=diff

==============================================================================
--- llvm/trunk/include/llvm/ADT/APInt.h (original)
+++ llvm/trunk/include/llvm/ADT/APInt.h Tue Jun 30 02:05:27 2009
@@ -1426,8 +1426,6 @@
   return OS;
 }
 
-std::ostream &operator<<(std::ostream &o, const APInt &I);
-
 namespace APIntOps {
 
 /// @brief Determine the smaller of two APInts considered to be signed.

Modified: llvm/trunk/lib/Support/APInt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/APInt.cpp?rev=74515&r1=74514&r2=74515&view=diff

==============================================================================
--- llvm/trunk/lib/Support/APInt.cpp (original)
+++ llvm/trunk/lib/Support/APInt.cpp Tue Jun 30 02:05:27 2009
@@ -2178,12 +2178,6 @@
   OS << S.c_str();
 }
 
-std::ostream &operator<<(std::ostream &o, const APInt &I) {
-  raw_os_ostream OS(o);
-  OS << I;
-  return o;
-}
-
 // This implements a variety of operations on a representation of
 // arbitrary precision, two's-complement, bignum integer values.
 





More information about the llvm-commits mailing list