mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
remove the dead std::ostream APInt inserter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79875 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a8d194cce
commit
91021d3390
@ -15,7 +15,6 @@
|
|||||||
#ifndef LLVM_APINT_H
|
#ifndef LLVM_APINT_H
|
||||||
#define LLVM_APINT_H
|
#define LLVM_APINT_H
|
||||||
|
|
||||||
#include "llvm/Support/DataTypes.h"
|
|
||||||
#include "llvm/Support/MathExtras.h"
|
#include "llvm/Support/MathExtras.h"
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <climits>
|
#include <climits>
|
||||||
@ -32,8 +31,8 @@ namespace llvm {
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
class SmallVectorImpl;
|
class SmallVectorImpl;
|
||||||
|
|
||||||
/* An unsigned host type used as a single part of a multi-part
|
// An unsigned host type used as a single part of a multi-part
|
||||||
bignum. */
|
// bignum.
|
||||||
typedef uint64_t integerPart;
|
typedef uint64_t integerPart;
|
||||||
|
|
||||||
const unsigned int host_char_bit = 8;
|
const unsigned int host_char_bit = 8;
|
||||||
@ -1426,8 +1425,6 @@ inline raw_ostream &operator<<(raw_ostream &OS, const APInt &I) {
|
|||||||
return OS;
|
return OS;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ostream &operator<<(std::ostream &o, const APInt &I);
|
|
||||||
|
|
||||||
namespace APIntOps {
|
namespace APIntOps {
|
||||||
|
|
||||||
/// @brief Determine the smaller of two APInts considered to be signed.
|
/// @brief Determine the smaller of two APInts considered to be signed.
|
||||||
|
@ -2203,17 +2203,11 @@ void APInt::print(raw_ostream &OS, bool isSigned) const {
|
|||||||
OS << S.str();
|
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
|
// This implements a variety of operations on a representation of
|
||||||
// arbitrary precision, two's-complement, bignum integer values.
|
// arbitrary precision, two's-complement, bignum integer values.
|
||||||
|
|
||||||
/* Assumed by lowHalf, highHalf, partMSB and partLSB. A fairly safe
|
// Assumed by lowHalf, highHalf, partMSB and partLSB. A fairly safe
|
||||||
and unrestricting assumption. */
|
// and unrestricting assumption.
|
||||||
#define COMPILE_TIME_ASSERT(cond) extern int CTAssert[(cond) ? 1 : -1]
|
#define COMPILE_TIME_ASSERT(cond) extern int CTAssert[(cond) ? 1 : -1]
|
||||||
COMPILE_TIME_ASSERT(integerPartWidth % 2 == 0);
|
COMPILE_TIME_ASSERT(integerPartWidth % 2 == 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user