fix a bunch of bad formatting, delete the dead

ConstantInt::TheTrueVal/TheFalseVal members.

llvm-svn: 83752
This commit is contained in:
Chris Lattner 2009-10-11 04:03:22 +00:00
parent 8d186bfafb
commit bb094e12f2
1 changed files with 59 additions and 61 deletions

View File

@ -45,7 +45,6 @@ struct ConvertConstantType;
/// represents both boolean and integral constants.
/// @brief Class for constant integers.
class ConstantInt : public Constant {
static ConstantInt *TheTrueVal, *TheFalseVal;
void *operator new(size_t, unsigned); // DO NOT IMPLEMENT
ConstantInt(const ConstantInt &); // DO NOT IMPLEMENT
ConstantInt(const IntegerType *Ty, const APInt& V);
@ -258,7 +257,7 @@ public:
static Constant *get(const Type* Ty, const StringRef &Str);
static ConstantFP *get(LLVMContext &Context, const APFloat &V);
static ConstantFP *getNegativeZero(const Type* Ty);
static ConstantFP* getInfinity(const Type* Ty, bool negative = false);
static ConstantFP *getInfinity(const Type *Ty, bool Negative = false);
/// isValueValidForType - return true if Ty is big enough to represent V.
static bool isValueValidForType(const Type *Ty, const APFloat &V);
@ -418,8 +417,7 @@ public:
static Constant *get(LLVMContext &Context,
const std::vector<Constant*> &V, bool Packed);
static Constant *get(LLVMContext &Context,
Constant* const *Vals, unsigned NumVals,
bool Packed);
Constant *const *Vals, unsigned NumVals, bool Packed);
/// Transparently provide more efficient getOperand methods.
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant);