From f61b2371c8ec6e0ff2da8f2bd2a606ba755bb2fe Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 22 Oct 2009 18:55:16 +0000 Subject: Fix getMDs() interface such that it does not expose implementation details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84885 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Metadata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index 63b9e5ae83..d16b7dc323 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -254,7 +254,7 @@ public: MDNode *getMD(unsigned Kind, const Instruction *Inst); /// getMDs - Get the metadata attached to an Instruction. - const MDMapTy *getMDs(const Instruction *Inst); + void getMDs(const Instruction *Inst, SmallVectorImpl &MDs) const; /// addMD - Attach the metadata of given kind to an Instruction. void addMD(unsigned Kind, MDNode *Node, Instruction *Inst); -- cgit v1.2.3-70-g09d2