aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-11 23:20:20 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-11 23:20:20 +0000
commit2a3fcb382ef43374327b7b7672fe1e1e178041da (patch)
treea2c295d0e62d9f3a48f386b678ced0c45259926e
parentfde528fa2b206604bc80618af815bf5dab3fed8e (diff)
Add documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163658 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/MC/MCParser/MCParsedAsmOperand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCParser/MCParsedAsmOperand.h b/include/llvm/MC/MCParser/MCParsedAsmOperand.h
index 0e2d46eece..369bc72ff6 100644
--- a/include/llvm/MC/MCParser/MCParsedAsmOperand.h
+++ b/include/llvm/MC/MCParser/MCParsedAsmOperand.h
@@ -23,9 +23,13 @@ public:
MCParsedAsmOperand() {}
virtual ~MCParsedAsmOperand() {}
+ /// isToken - Is this a token operand?
virtual bool isToken() const = 0;
+ /// isImm - Is this an immediate operand?
virtual bool isImm() const = 0;
+ /// isReg - Is this a register operand?
virtual bool isReg() const = 0;
+ /// isMem - Is this a memory operand?
virtual bool isMem() const = 0;
/// getStartLoc - Get the location of the first token of this operand.