[llvm-commits] [llvm] r109950 - /llvm/trunk/include/llvm/Instructions.h

Gabor Greif ggreif at gmail.com
Sat Jul 31 01:35:21 PDT 2010


Author: ggreif
Date: Sat Jul 31 03:35:21 2010
New Revision: 109950

URL: http://llvm.org/viewvc/llvm-project?rev=109950&view=rev
Log:
doxygenize argument accessors

Modified:
    llvm/trunk/include/llvm/Instructions.h

Modified: llvm/trunk/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instructions.h?rev=109950&r1=109949&r2=109950&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instructions.h (original)
+++ llvm/trunk/include/llvm/Instructions.h Sat Jul 31 03:35:21 2010
@@ -964,7 +964,12 @@
 # undef protected
 public:
 
+  /// getNumArgOperands - Return the number of call arguments.
+  ///
   unsigned getNumArgOperands() const { return getNumOperands() - 1; }
+
+  /// getArgOperand/setArgOperand - Return/set the i-th call argument.
+  ///
   Value *getArgOperand(unsigned i) const { return getOperand(i); }
   void setArgOperand(unsigned i, Value *v) { setOperand(i, v); }
 
@@ -2460,7 +2465,12 @@
   /// Provide fast operand accessors
   DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
 
+  /// getNumArgOperands - Return the number of invoke arguments.
+  ///
   unsigned getNumArgOperands() const { return getNumOperands() - 3; }
+
+  /// getArgOperand/setArgOperand - Return/set the i-th invoke argument.
+  ///
   Value *getArgOperand(unsigned i) const { return getOperand(i); }
   void setArgOperand(unsigned i, Value *v) { setOperand(i, v); }
 





More information about the llvm-commits mailing list