aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCInst.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC/MCInst.h')
-rw-r--r--include/llvm/MC/MCInst.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/MC/MCInst.h b/include/llvm/MC/MCInst.h
index d6ef7b4..5d34cce 100644
--- a/include/llvm/MC/MCInst.h
+++ b/include/llvm/MC/MCInst.h
@@ -144,6 +144,8 @@ public:
Operands.push_back(Op);
}
+ void clear() { Operands.clear(); }
+
void print(raw_ostream &OS, const MCAsmInfo *MAI) const;
void dump() const;