summaryrefslogtreecommitdiff
path: root/bindings/go/llvm/version.go
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-01-18 16:17:27 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-01-18 16:17:27 +0000
commit67c32a98315f785a9ec9d531c1f571a0196c7463 (patch)
tree4abb9cbeecc7901726dd0b4a37369596c852e9ef /bindings/go/llvm/version.go
parent9f61947910e6ab40de38e6b4034751ef1513200f (diff)
Diffstat (limited to 'bindings/go/llvm/version.go')
-rw-r--r--bindings/go/llvm/version.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/bindings/go/llvm/version.go b/bindings/go/llvm/version.go
new file mode 100644
index 0000000000000..d0623be97a9ba
--- /dev/null
+++ b/bindings/go/llvm/version.go
@@ -0,0 +1,21 @@
+//===- version.go - LLVM version info -------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines LLVM version information.
+//
+//===----------------------------------------------------------------------===//
+
+package llvm
+
+/*
+#include "llvm/Config/llvm-config.h"
+*/
+import "C"
+
+const Version = C.LLVM_VERSION_STRING