Add a clear() operation to MCInst, to drop all of its operands. Useful for the disas...
authorOwen Anderson <resistor@mac.com>
Mon, 1 Aug 2011 18:43:18 +0000 (18:43 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 1 Aug 2011 18:43:18 +0000 (18:43 +0000)
commit423b81e6924f882f8b1cf7a7d4126b25b5f915aa
tree19860d3ff703c3499b81207286a20cb185cbd660
parent965b891762b4ec62475a7859a7c8453427064ff9
Add a clear() operation to MCInst, to drop all of its operands.  Useful for the disassembler, where we may realize fairly late into decoding that something is wrong and need to reset.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136634 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCInst.h