summaryrefslogtreecommitdiffstats
path: root/bindings/go/llvm/version.go
diff options
context:
space:
mode:
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 0000000..d0623be
--- /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