mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185540 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -755,7 +755,7 @@ namespace llvm {
|
||||
bool addType(DIType DT);
|
||||
|
||||
public:
|
||||
typedef SmallVector<MDNode *, 8>::const_iterator iterator;
|
||||
typedef SmallVectorImpl<MDNode *>::const_iterator iterator;
|
||||
iterator compile_unit_begin() const { return CUs.begin(); }
|
||||
iterator compile_unit_end() const { return CUs.end(); }
|
||||
iterator subprogram_begin() const { return SPs.begin(); }
|
||||
|
Reference in New Issue
Block a user