diff options
author | Devang Patel <dpatel@apple.com> | 2009-08-11 18:01:24 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-08-11 18:01:24 +0000 |
commit | ab67e705f59d567afded845465f358b8a66ab62e (patch) | |
tree | 2b94953480af82399bdce3668793a07896be29be /include | |
parent | e2574d3215c412a15763d26aee9aa5d856764c2c (diff) | |
download | external_llvm-ab67e705f59d567afded845465f358b8a66ab62e.zip external_llvm-ab67e705f59d567afded845465f358b8a66ab62e.tar.gz external_llvm-ab67e705f59d567afded845465f358b8a66ab62e.tar.bz2 |
Link NamedMDNodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Metadata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index 3803b5a..8533efd 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -229,6 +229,8 @@ public: return new NamedMDNode(N, MDs, NumMDs, M); } + static NamedMDNode *Create(const NamedMDNode *NMD, Module *M = 0); + /// eraseFromParent - Drop all references and remove the node from parent /// module. void eraseFromParent(); |