diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-28 08:48:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-28 08:48:12 +0000 |
commit | dfdb5dcf564b66209f374c6c68bc8ddfb7ebacfd (patch) | |
tree | 647ed4fc23dda0fbb5ba2dd37da47e7fca57e6f8 /include | |
parent | 5e9cd434234a36089daeee915f1dc02b96947fba (diff) |
rename MDNode instance variables to something meaningful.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92216 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Metadata.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index 28f9356ba9..63601d2d25 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -99,8 +99,8 @@ class MDNode : public MetadataBase, public FoldingSetNode { // Replace each instance of F from the element list of this node with T. void replaceElement(Value *F, Value *T); - MDNodeElement *Node; - unsigned NodeSize; + MDNodeElement *Operands; + unsigned NumOperands; protected: explicit MDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals, @@ -117,7 +117,7 @@ public: Value *getElement(unsigned i) const; /// getNumElements - Return number of MDNode elements. - unsigned getNumElements() const { return NodeSize; } + unsigned getNumElements() const { return NumOperands; } /// isFunctionLocal - Return whether MDNode is local to a function. /// Note: MDNodes are designated as function-local when created, and keep |