[llvm-commits] [llvm] r163658 - /llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h
Chad Rosier
mcrosier at apple.com
Tue Sep 11 16:20:20 PDT 2012
Author: mcrosier
Date: Tue Sep 11 18:20:20 2012
New Revision: 163658
URL: http://llvm.org/viewvc/llvm-project?rev=163658&view=rev
Log:
Add documentation.
Modified:
llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h
Modified: llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h?rev=163658&r1=163657&r2=163658&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h (original)
+++ llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h Tue Sep 11 18:20:20 2012
@@ -23,9 +23,13 @@
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.
More information about the llvm-commits
mailing list