aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-08-11 18:01:24 +0000
committerDevang Patel <dpatel@apple.com>2009-08-11 18:01:24 +0000
commitab67e705f59d567afded845465f358b8a66ab62e (patch)
tree2b94953480af82399bdce3668793a07896be29be /include
parente2574d3215c412a15763d26aee9aa5d856764c2c (diff)
downloadexternal_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.h2
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();