aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 23:11:28 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 23:11:28 +0000
commit96cffa63a2657854776ef832febcc880527d25d5 (patch)
tree2d580d1782f93ebdf2ec454021bf10700b913b03 /llvm/lib/Support/APInt.cpp
parentbefdbd91cc3f7edb30cf9cd23dc1f9afe2f1e47a (diff)
downloadllvm-96cffa63a2657854776ef832febcc880527d25d5.zip
llvm-96cffa63a2657854776ef832febcc880527d25d5.tar.gz
llvm-96cffa63a2657854776ef832febcc880527d25d5.tar.bz2
remove the dead std::ostream APInt inserter
llvm-svn: 79875
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
-rw-r--r--llvm/lib/Support/APInt.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp
index eca6324..5f744e7 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -2203,17 +2203,11 @@ void APInt::print(raw_ostream &OS, bool isSigned) const {
OS << S.str();
}
-std::ostream &llvm::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.
-/* Assumed by lowHalf, highHalf, partMSB and partLSB. A fairly safe
- and unrestricting assumption. */
+// Assumed by lowHalf, highHalf, partMSB and partLSB. A fairly safe
+// and unrestricting assumption.
#define COMPILE_TIME_ASSERT(cond) extern int CTAssert[(cond) ? 1 : -1]
COMPILE_TIME_ASSERT(integerPartWidth % 2 == 0);