Fix comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96610 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2010-02-18 21:03:36 +00:00
parent 06fdaccc89
commit 0ce7b1255c

View File

@ -104,11 +104,12 @@ class MDNode : public Value, public FoldingSetNode {
FL_Yes = 1 FL_Yes = 1
}; };
// Replace each instance of F from the operand list of this node with T. /// replaceOperand - Replace each instance of F from the operand list of this
/// node with T.
void replaceOperand(MDNodeOperand *Op, Value *NewVal); void replaceOperand(MDNodeOperand *Op, Value *NewVal);
~MDNode(); ~MDNode();
// replaceAllOperandsWithNull - This is used while destroying llvm context to /// replaceAllOperandsWithNull - This is used while destroying llvm context to
// gracefully delete all nodes. This method replaces all operands with null. /// gracefully delete all nodes. This method replaces all operands with null.
void replaceAllOperandsWithNull(); void replaceAllOperandsWithNull();
protected: protected: