aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-06-30 07:05:27 +0000
committerBill Wendling <isanbard@gmail.com>2009-06-30 07:05:27 +0000
commit88a56ffd0ab46d6128d9604196ff1b54eaef9a50 (patch)
tree8f268e041968ddbf2e5f67dc323b23229f84bc32
parent088affa60c5db3e53008dc5a260b507f190f69cf (diff)
downloadexternal_llvm-88a56ffd0ab46d6128d9604196ff1b54eaef9a50.zip
external_llvm-88a56ffd0ab46d6128d9604196ff1b54eaef9a50.tar.gz
external_llvm-88a56ffd0ab46d6128d9604196ff1b54eaef9a50.tar.bz2
Temporarily revert r74494. It was causing failures in the unit tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74515 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/ADT/APInt.h2
-rw-r--r--lib/Support/APInt.cpp6
2 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h
index 56cd3cc..63bf4f6 100644
--- a/include/llvm/ADT/APInt.h
+++ b/include/llvm/ADT/APInt.h
@@ -1426,8 +1426,6 @@ inline raw_ostream &operator<<(raw_ostream &OS, const APInt &I) {
return OS;
}
-std::ostream &operator<<(std::ostream &o, const APInt &I);
-
namespace APIntOps {
/// @brief Determine the smaller of two APInts considered to be signed.
diff --git a/lib/Support/APInt.cpp b/lib/Support/APInt.cpp
index 25e23e0..73bf774 100644
--- a/lib/Support/APInt.cpp
+++ b/lib/Support/APInt.cpp
@@ -2178,12 +2178,6 @@ void APInt::print(raw_ostream &OS, bool isSigned) const {
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.