[llvm-commits] [llvm] r91524 - in /llvm/trunk: include/llvm/Metadata.h lib/VMCore/Metadata.cpp
Victor Hernandez
vhernandez at apple.com
Wed Dec 16 00:10:57 PST 2009
Author: hernande
Date: Wed Dec 16 02:10:57 2009
New Revision: 91524
URL: http://llvm.org/viewvc/llvm-project?rev=91524&view=rev
Log:
Use different name for argument and field
Modified:
llvm/trunk/include/llvm/Metadata.h
llvm/trunk/lib/VMCore/Metadata.cpp
Modified: llvm/trunk/include/llvm/Metadata.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Metadata.h?rev=91524&r1=91523&r2=91524&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Metadata.h (original)
+++ llvm/trunk/include/llvm/Metadata.h Wed Dec 16 02:10:57 2009
@@ -115,7 +115,7 @@
protected:
explicit MDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals,
- Function *LocalFunction = NULL);
+ Function *LocalFunc = NULL);
public:
// Constructors and destructors.
static MDNode *get(LLVMContext &Context,
Modified: llvm/trunk/lib/VMCore/Metadata.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Metadata.cpp?rev=91524&r1=91523&r2=91524&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Metadata.cpp (original)
+++ llvm/trunk/lib/VMCore/Metadata.cpp Wed Dec 16 02:10:57 2009
@@ -50,14 +50,14 @@
// MDNode implementation.
//
MDNode::MDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals,
- Function *LocalFunction)
+ Function *LocalFunc)
: MetadataBase(Type::getMetadataTy(C), Value::MDNodeVal) {
NodeSize = NumVals;
Node = new ElementVH[NodeSize];
ElementVH *Ptr = Node;
for (unsigned i = 0; i != NumVals; ++i)
*Ptr++ = ElementVH(Vals[i], this);
- LocalFunction = LocalFunction;
+ LocalFunction = LocalFunc;
}
void MDNode::Profile(FoldingSetNodeID &ID) const {
More information about the llvm-commits
mailing list