[llvm-commits] [llvm] r89976 - /llvm/trunk/lib/VMCore/Metadata.cpp
Nick Lewycky
nicholas at mxc.ca
Thu Nov 26 15:19:05 PST 2009
Author: nicholas
Date: Thu Nov 26 17:19:05 2009
New Revision: 89976
URL: http://llvm.org/viewvc/llvm-project?rev=89976&view=rev
Log:
Fix typo spotted by Gabor Greif.
Modified:
llvm/trunk/lib/VMCore/Metadata.cpp
Modified: llvm/trunk/lib/VMCore/Metadata.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Metadata.cpp?rev=89976&r1=89975&r2=89976&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Metadata.cpp (original)
+++ llvm/trunk/lib/VMCore/Metadata.cpp Thu Nov 26 17:19:05 2009
@@ -218,7 +218,7 @@
/// addMD - Attach the metadata of given kind to an Instruction.
void addMD(unsigned Kind, MDNode *Node, Instruction *Inst);
- /// removeMD - Remove metadata of given kind attached with an instuction.
+ /// removeMD - Remove metadata of given kind attached with an instruction.
void removeMD(unsigned Kind, Instruction *Inst);
/// removeAllMetadata - Remove all metadata attached with an instruction.
@@ -289,7 +289,7 @@
Info.push_back(std::make_pair(MDKind, Node));
}
-/// removeMD - Remove metadata of given kind attached with an instuction.
+/// removeMD - Remove metadata of given kind attached with an instruction.
void MetadataContextImpl::removeMD(unsigned Kind, Instruction *Inst) {
MDStoreTy::iterator I = MetadataStore.find(Inst);
if (I == MetadataStore.end())
@@ -442,7 +442,7 @@
pImpl->addMD(Kind, Node, Inst);
}
-/// removeMD - Remove metadata of given kind attached with an instuction.
+/// removeMD - Remove metadata of given kind attached with an instruction.
void MetadataContext::removeMD(unsigned Kind, Instruction *Inst) {
pImpl->removeMD(Kind, Inst);
}
More information about the llvm-commits
mailing list