Add one more doxygen comment.
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 12 Feb 2004 04:26:49 +0000 (04:26 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 12 Feb 2004 04:26:49 +0000 (04:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11344 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index 8d36c885379b9d9e02d22ed1fef28861bf36851a..89731979a54fdf14d4c0a73dba61f7a0077df1c4 100644 (file)
@@ -192,9 +192,8 @@ public:
     return *this;
   }
 
-  // Accessor methods.  Caller is responsible for checking the
-  // operand type before invoking the corresponding accessor.
-  // 
+  /// getType - Returns the MachineOperandType for this operand.
+  /// 
   MachineOperandType getType() const { return opType; }
 
   /// isPCRelative - This returns the value of the PCRELATIVE flag, which
@@ -204,7 +203,6 @@ public:
   ///
   bool isPCRelative() const { return (flags & PCRELATIVE) != 0; }
 
-
   /// isRegister - Return true if this operand is a register operand.  The X86
   /// backend currently can't decide whether to use MO_MR or MO_VR to represent
   /// them, so we accept both.