[LoopUtils] Move a private constructor nearer the other private members

This was part of Adam Nemet's review feedback that I forgot to implement.

llvm-svn: 246301
This commit is contained in:
James Molloy 2015-08-28 14:40:29 +00:00
parent 7c912898a5
commit 85d58684da

@ -255,9 +255,6 @@ public:
IK_PtrInduction ///< Pointer induction var. Step = C / sizeof(elem).
};
private:
/// Private constructor - use \c isInductionPHI.
InductionDescriptor(Value *Start, InductionKind K, ConstantInt *Step);
public:
/// Default constructor - creates an invalid induction.
InductionDescriptor()
@ -285,6 +282,9 @@ public:
InductionDescriptor &D);
private:
/// Private constructor - used by \c isInductionPHI.
InductionDescriptor(Value *Start, InductionKind K, ConstantInt *Step);
/// Start value.
TrackingVH<Value> StartValue;
/// Induction kind.