forked from OSchip/llvm-project
[MC] Allowing operands to be erased from MCInst.
llvm-svn: 239079
This commit is contained in:
parent
9f336636fe
commit
31d9c47540
llvm/include/llvm/MC
|
@ -167,11 +167,11 @@ public:
|
|||
|
||||
void addOperand(const MCOperand &Op) { Operands.push_back(Op); }
|
||||
|
||||
void clear() { Operands.clear(); }
|
||||
size_t size() const { return Operands.size(); }
|
||||
|
||||
typedef SmallVectorImpl<MCOperand>::iterator iterator;
|
||||
typedef SmallVectorImpl<MCOperand>::const_iterator const_iterator;
|
||||
void clear() { Operands.clear(); }
|
||||
void erase(iterator I) { Operands.erase(I); }
|
||||
size_t size() const { return Operands.size(); }
|
||||
iterator begin() { return Operands.begin(); }
|
||||
const_iterator begin() const { return Operands.begin(); }
|
||||
iterator end() { return Operands.end(); }
|
||||
|
|
Loading…
Reference in New Issue