forked from OSchip/llvm-project
fix a bunch of bad formatting, delete the dead
ConstantInt::TheTrueVal/TheFalseVal members. llvm-svn: 83752
This commit is contained in:
parent
8d186bfafb
commit
bb094e12f2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue