From 67a2743b6ba03c473f89577d04c8141150b1f1c2 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Sat, 21 Feb 2009 01:09:07 +0000 Subject: [PATCH] fix and clean up a comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65212 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/User.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/llvm/User.h b/include/llvm/User.h index e25d19b563f..bb1a862c860 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -50,12 +50,11 @@ class User : public Value { template friend struct HungoffOperandTraits; protected: - /// OperandList - This is a pointer to the array of Users for this operand. + /// OperandList - This is a pointer to the array of Uses for this User. /// For nodes of fixed arity (e.g. a binary operator) this array will live - /// prefixed to the derived class. For nodes of resizable variable arity - /// (e.g. PHINodes, SwitchInst etc.), this memory will be dynamically - /// allocated and should be destroyed by the classes' - /// virtual dtor. + /// prefixed to some derived class instance. For nodes of resizable variable + /// arity (e.g. PHINodes, SwitchInst etc.), this memory will be dynamically + /// allocated and should be destroyed by the classes' virtual dtor. Use *OperandList; /// NumOperands - The number of values used by this User.