Use SmallVectorImpl::const_iterator instead of SmallVector to avoid specifying the vector size.

llvm-svn: 185623
This commit is contained in:
Craig Topper 2013-07-04 13:11:33 +00:00
parent 5861171893
commit 9c525eec94
1 changed files with 2 additions and 2 deletions

View File

@ -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(); }