Add documentation.
authorChad Rosier <mcrosier@apple.com>
Tue, 11 Sep 2012 23:20:20 +0000 (23:20 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 11 Sep 2012 23:20:20 +0000 (23:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163658 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCParser/MCParsedAsmOperand.h

index 0e2d46eecefaa5173b662a2c3e0b2c97388b888e..369bc72ff61efe04c25e6b8d20f3efb9ff8e48f8 100644 (file)
@@ -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.