forked from OSchip/llvm-project
Use SmallVectorImpl::const_iterator instead of SmallVector to avoid specifying the vector size.
llvm-svn: 185623
This commit is contained in:
parent
5861171893
commit
9c525eec94
|
@ -859,8 +859,8 @@ public:
|
|||
|
||||
/// \brief Determine whether the initialization sequence is invalid.
|
||||
bool Failed() const { return SequenceKind == FailedSequence; }
|
||||
|
||||
typedef SmallVector<Step, 4>::const_iterator step_iterator;
|
||||
|
||||
typedef SmallVectorImpl<Step>::const_iterator step_iterator;
|
||||
step_iterator step_begin() const { return Steps.begin(); }
|
||||
step_iterator step_end() const { return Steps.end(); }
|
||||
|
||||
|
|
Loading…
Reference in New Issue