[IRCE] Use C++11 style initializers; NFC

llvm-svn: 270815
This commit is contained in:
Sanjoy Das 2016-05-26 01:50:18 +00:00
parent 683abe79b2
commit ee77a4828e
1 changed files with 5 additions and 9 deletions

View File

@ -115,11 +115,11 @@ class InductiveRangeCheck {
static StringRef rangeCheckKindToStr(RangeCheckKind);
const SCEV *Offset;
const SCEV *Scale;
Value *Length;
Use *CheckUse;
RangeCheckKind Kind;
const SCEV *Offset = nullptr;
const SCEV *Scale = nullptr;
Value *Length = nullptr;
Use *CheckUse = nullptr;
RangeCheckKind Kind = RANGE_CHECK_UNKNOWN;
static RangeCheckKind parseRangeCheckICmp(Loop *L, ICmpInst *ICI,
ScalarEvolution &SE, Value *&Index,
@ -130,10 +130,6 @@ class InductiveRangeCheck {
SmallVectorImpl<InductiveRangeCheck> &Checks,
SmallPtrSetImpl<Value *> &Visited);
InductiveRangeCheck()
: Offset(nullptr), Scale(nullptr), Length(nullptr),
CheckUse(nullptr) {}
public:
const SCEV *getOffset() const { return Offset; }
const SCEV *getScale() const { return Scale; }