From: Craig Topper Date: Thu, 4 Jul 2013 13:11:33 +0000 (+0000) Subject: Use SmallVectorImpl::const_iterator instead of SmallVector to avoid specifying the... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1686069c03495a3619cc921e3ddeb3417ea6ec25;p=clang Use SmallVectorImpl::const_iterator instead of SmallVector to avoid specifying the vector size. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185623 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Sema/Initialization.h b/include/clang/Sema/Initialization.h index f53cb148e4..97311a0bb4 100644 --- a/include/clang/Sema/Initialization.h +++ b/include/clang/Sema/Initialization.h @@ -859,8 +859,8 @@ public: /// \brief Determine whether the initialization sequence is invalid. bool Failed() const { return SequenceKind == FailedSequence; } - - typedef SmallVector::const_iterator step_iterator; + + typedef SmallVectorImpl::const_iterator step_iterator; step_iterator step_begin() const { return Steps.begin(); } step_iterator step_end() const { return Steps.end(); }