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

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
James Molloy 2015-08-28 14:40:29 +00:00
parent 4b1821fa36
commit f5ab7a4dbb

View File

@ -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.