[llvm-commits] CVS: llvm/include/llvm/iPHINode.h

Misha Brukman brukman at cs.uiuc.edu
Thu Feb 26 17:21:36 PST 2004


Changes in directory llvm/include/llvm:

iPHINode.h updated: 1.15 -> 1.16

---
Log message:

Doxygenify and tersify comments.


---
Diffs of the changes:  (+5 -2)

Index: llvm/include/llvm/iPHINode.h
diff -u llvm/include/llvm/iPHINode.h:1.15 llvm/include/llvm/iPHINode.h:1.16
--- llvm/include/llvm/iPHINode.h:1.15	Sun Nov 16 14:21:15 2003
+++ llvm/include/llvm/iPHINode.h	Thu Feb 26 17:20:08 2004
@@ -38,11 +38,12 @@
 
   virtual Instruction *clone() const { return new PHINode(*this); }
 
-  /// getNumIncomingValues - Return the number of incoming edges the PHI node
-  /// has
+  /// getNumIncomingValues - Return the number of incoming edges
+  ///
   unsigned getNumIncomingValues() const { return Operands.size()/2; }
 
   /// getIncomingValue - Return incoming value #x
+  ///
   Value *getIncomingValue(unsigned i) const {
     assert(i*2 < Operands.size() && "Invalid value number!");
     return Operands[i*2];
@@ -56,6 +57,7 @@
   }
 
   /// getIncomingBlock - Return incoming basic block #x
+  ///
   BasicBlock *getIncomingBlock(unsigned i) const { 
     assert(i*2+1 < Operands.size() && "Invalid value number!");
     return reinterpret_cast<BasicBlock*>(Operands[i*2+1].get());
@@ -69,6 +71,7 @@
   }
 
   /// addIncoming - Add an incoming value to the end of the PHI list
+  ///
   void addIncoming(Value *D, BasicBlock *BB) {
     assert(getType() == D->getType() &&
            "All operands to PHI node must be the same type as the PHI node!");





More information about the llvm-commits mailing list