Skip to content
Snippets Groups Projects
Commit 2783ca4f authored by Jim Grosbach's avatar Jim Grosbach
Browse files

Simplify the MCInst operator iterator declaration.

llvm-svn: 179541
parent 02fc72d4
No related branches found
No related tags found
No related merge requests found
...@@ -171,7 +171,7 @@ public: ...@@ -171,7 +171,7 @@ public:
void clear() { Operands.clear(); } void clear() { Operands.clear(); }
size_t size() { return Operands.size(); } size_t size() { return Operands.size(); }
typedef SmallVector<MCOperand, 8>::iterator iterator; typedef SmallVectorImpl<MCOperand>::iterator iterator;
iterator begin() { return Operands.begin(); } iterator begin() { return Operands.begin(); }
iterator end() { return Operands.end(); } iterator end() { return Operands.end(); }
iterator insert(iterator I, const MCOperand &Op) { iterator insert(iterator I, const MCOperand &Op) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment