mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-02 07:16:29 +00:00
[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:
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user