diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-23 23:11:28 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 23:11:28 +0000 |
| commit | 96cffa63a2657854776ef832febcc880527d25d5 (patch) | |
| tree | 2d580d1782f93ebdf2ec454021bf10700b913b03 /llvm/lib/Support/APInt.cpp | |
| parent | befdbd91cc3f7edb30cf9cd23dc1f9afe2f1e47a (diff) | |
| download | bcm5719-llvm-96cffa63a2657854776ef832febcc880527d25d5.tar.gz bcm5719-llvm-96cffa63a2657854776ef832febcc880527d25d5.zip | |
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.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp index eca63248478..5f744e72f9f 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); |

