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 | 91021d339004ff5a64c3c9614cff8966899c0c99 (patch) | |
tree | 7435ec781c97edc9bf7a3ef76d57793d15a4d11f /lib/Support/APInt.cpp | |
parent | 2a8d194cce8ba80ee99484913d50a529791546e1 (diff) |
remove the dead std::ostream APInt inserter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/APInt.cpp')
-rw-r--r-- | lib/Support/APInt.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/Support/APInt.cpp b/lib/Support/APInt.cpp index eca6324847..5f744e72f9 100644 --- a/lib/Support/APInt.cpp +++ b/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); |