aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-28 08:14:54 +0000
committerChris Lattner <sabre@nondot.org>2009-12-28 08:14:54 +0000
commitbcb18538c26fd6fef942d9da8156b30febae5d7e (patch)
tree37a897c8205102647e0bee06c8b26d2706dc723d /include
parent57109697282c6dffd04e2e275606352914217114 (diff)
downloadexternal_llvm-bcb18538c26fd6fef942d9da8156b30febae5d7e.zip
external_llvm-bcb18538c26fd6fef942d9da8156b30febae5d7e.tar.gz
external_llvm-bcb18538c26fd6fef942d9da8156b30febae5d7e.tar.bz2
change the strange MetadataContext::getMDs function to expose less
irrelevant internal implementation details to clients. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92210 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Metadata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h
index 676811e..c97558f 100644
--- a/include/llvm/Metadata.h
+++ b/include/llvm/Metadata.h
@@ -236,7 +236,7 @@ public:
/// getMDs - Get the metadata attached to an Instruction.
void getMDs(const Instruction *Inst,
- SmallVectorImpl<std::pair<unsigned, TrackingVH<MDNode> > > &MDs) const;
+ SmallVectorImpl<std::pair<unsigned, MDNode*> > &MDs) const;
/// addMD - Attach the metadata of given kind to an Instruction.
void addMD(unsigned Kind, MDNode *Node, Instruction *Inst);