summaryrefslogtreecommitdiff
path: root/include/llvm-c/Core.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-05-15 07:20:34 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-05-15 07:20:34 +0000
commitbe1532ec66648f1c86d684f4840c03e29a4391ce (patch)
treee613155225680eae027436990eb8bd060018bd97 /include/llvm-c/Core.h
parentdae3b57b912d4656544adfea97ade880b6bd8aa1 (diff)
downloadllvm-be1532ec66648f1c86d684f4840c03e29a4391ce.tar.gz
llvm-be1532ec66648f1c86d684f4840c03e29a4391ce.tar.bz2
llvm-be1532ec66648f1c86d684f4840c03e29a4391ce.tar.xz
Declare this function here so that it doesn't get C++ mangling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Core.h')
-rw-r--r--include/llvm-c/Core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 39c3cb4011..70fc699953 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -282,6 +282,8 @@ typedef enum {
LLVMRealPredicateTrue /**< Always true (always folded) */
} LLVMRealPredicate;
+void LLVMInitializeCore(LLVMPassRegistryRef R);
+
/*===-- Error handling ----------------------------------------------------===*/