summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-09-28 21:14:55 +0000
committerDevang Patel <dpatel@apple.com>2009-09-28 21:14:55 +0000
commitb1a4477f1f80e5411ca0fcb6a5191c35870f6fc6 (patch)
tree73052d034ecb6681b040cc48b44db6fd78d5459c /llvm/lib/AsmParser/LLParser.cpp
parented31cc2a99224a55dfaab7f087f34602af1c6d30 (diff)
downloadbcm5719-llvm-b1a4477f1f80e5411ca0fcb6a5191c35870f6fc6.tar.gz
bcm5719-llvm-b1a4477f1f80e5411ca0fcb6a5191c35870f6fc6.zip
Do not use global typedef for MDKindID.
llvm-svn: 83016
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index 0ecf8473c1b..1543e4b0a84 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/lib/AsmParser/LLParser.cpp
@@ -2657,7 +2657,7 @@ bool LLParser::ParseBasicBlock(PerFunctionState &PFS) {
// Set metadata attached with this instruction.
Metadata &TheMetadata = M->getContext().getMetadata();
- for (SmallVector<std::pair<MDKindID, MDNode *>, 2>::iterator
+ for (SmallVector<std::pair<unsigned, MDNode *>, 2>::iterator
MDI = MDsOnInst.begin(), MDE = MDsOnInst.end(); MDI != MDE; ++MDI)
TheMetadata.setMD(MDI->first, MDI->second, Inst);
MDsOnInst.clear();
OpenPOWER on IntegriCloud