diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-28 08:14:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-28 08:14:54 +0000 |
commit | 1b6d97fc4c928282cfeac752ceac81603176a641 (patch) | |
tree | 37a897c8205102647e0bee06c8b26d2706dc723d /include/llvm | |
parent | 17ee03dd1ebbc3fbe63c4106c9a7a647641aabd7 (diff) | |
download | external_llvm-1b6d97fc4c928282cfeac752ceac81603176a641.tar.gz external_llvm-1b6d97fc4c928282cfeac752ceac81603176a641.tar.bz2 external_llvm-1b6d97fc4c928282cfeac752ceac81603176a641.zip |
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/llvm')
-rw-r--r-- | include/llvm/Metadata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index 676811ebb4..c97558fe5d 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); |